From c1b3ec433badeff4b8eb1af0f9d7845a3c0a6100 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Sat, 15 Oct 2016 10:30:01 -0400 Subject: [PATCH] Add a missing rust language specifier Since the code hiding only works for rust code. Fixes #300. --- src/ch05-01-method-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch05-01-method-syntax.md b/src/ch05-01-method-syntax.md index 54b030ac0..737aac690 100644 --- a/src/ch05-01-method-syntax.md +++ b/src/ch05-01-method-syntax.md @@ -156,7 +156,7 @@ value of `can_hold` will be a boolean, and the implementation will check to see if `self`'s length and width are both greater than the length and width of the other `Rectangle`, respectively. Let's write that code! -``` +```rust # #[derive(Debug)] # struct Rectangle { # length: u32,