From bdc1a88cf7f8c066ea13766ef67829d7f5aaa0b0 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sun, 13 Nov 2016 17:50:49 -0500 Subject: [PATCH] Missed a language annotation --- src/ch10-02-traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch10-02-traits.md b/src/ch10-02-traits.md index 9965f6fb7..d83bd2147 100644 --- a/src/ch10-02-traits.md +++ b/src/ch10-02-traits.md @@ -142,7 +142,7 @@ Now we are able to call the `print_anything` function from Listing 10-6 and pass it a `Temperature` instance as the `value` parameter, since we implemented the trait `Printable` on `Temperature` in Listing 10-5: -``` +```rust # trait Printable { # fn print(&self); # }