]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #22280 - Unode:patch-1, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Feb 2015 12:59:43 +0000 (18:29 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Feb 2015 13:12:44 +0000 (18:42 +0530)
1  2 
src/doc/trpl/functions.md

index e212af5194b8e48d55776be1803e3a723f98b491,450b28bd80d24b33b08da225b37d4a66ecddb9b3..ca1385fde9c74950d8992e3e33646ba540a7a40c
@@@ -58,9 -58,9 +58,9 @@@ as when you declare it
  Unlike `let`, you _must_ declare the types of function arguments. This does
  not work:
  
 -```{ignore}
 +```{rust,ignore}
  fn print_sum(x, y) {
-     println!("x is: {}", x + y);
+     println!("sum is: {}", x + y);
  }
  ```