]> git.lizzy.rs Git - rust.git/commitdiff
Fix typos in comment
authorMichael Smith <michael@spinda.net>
Sat, 19 Aug 2017 00:10:50 +0000 (17:10 -0700)
committerMichael Smith <michael@spinda.net>
Sat, 19 Aug 2017 00:11:35 +0000 (17:11 -0700)
src/expr.rs

index 0276b68ac9fe3517592198e055e22429d58a084d..b19e632b76e9c53b97009d5ed07a83c983e899cc 100644 (file)
@@ -2786,7 +2786,7 @@ pub fn rewrite_tuple<'a, T>(
 {
     debug!("rewrite_tuple {:?}", shape);
     if context.use_block_indent() {
-        // We use the same rule as funcation call for rewriting tuple.
+        // We use the same rule as function calls for rewriting tuples.
         let force_trailing_comma = if context.inside_macro {
             span_ends_with_comma(context, span)
         } else {