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,