diff --git a/src/doc/trpl/functions.md b/src/doc/trpl/functions.md index e212af5194b8..ca1385fde9c7 100644 --- a/src/doc/trpl/functions.md +++ b/src/doc/trpl/functions.md @@ -60,7 +60,7 @@ not work: ```{rust,ignore} fn print_sum(x, y) { - println!("x is: {}", x + y); + println!("sum is: {}", x + y); } ```