mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 21:31:17 -06:00
Add a missing rust language specifier
Since the code hiding only works for rust code. Fixes #300.
This commit is contained in:
@@ -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
|
if `self`'s length and width are both greater than the length and width of the
|
||||||
other `Rectangle`, respectively. Let's write that code!
|
other `Rectangle`, respectively. Let's write that code!
|
||||||
|
|
||||||
```
|
```rust
|
||||||
# #[derive(Debug)]
|
# #[derive(Debug)]
|
||||||
# struct Rectangle {
|
# struct Rectangle {
|
||||||
# length: u32,
|
# length: u32,
|
||||||
|
|||||||
Reference in New Issue
Block a user