]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #25864 - azerupi:patch-1, r=alexcrichton
authorSteve Klabnik <steve@steveklabnik.com>
Fri, 29 May 2015 19:24:46 +0000 (15:24 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Fri, 29 May 2015 19:24:46 +0000 (15:24 -0400)
There was no opening parenthesis for this closing parenthesis...

src/doc/trpl/method-syntax.md

index e5f490e15e13e64a8b0dd102bd1197a244ebdd2b..1f694f71a883f761e7ac5a947379cbbcf18a6698 100644 (file)
@@ -4,7 +4,7 @@ Functions are great, but if you want to call a bunch of them on some data, it
 can be awkward. Consider this code:
 
 ```rust,ignore
-baz(bar(foo)));
+baz(bar(foo));
 ```
 
 We would read this left-to right, and so we see ‘baz bar foo’. But this isn’t the