We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f7ad590 + 375bfda commit 37853a7Copy full SHA for 37853a7
1 file changed
src/hello/print/print_display.md
@@ -94,8 +94,9 @@ fn main() {
94
println!("Display: {}", point);
95
println!("Debug: {:?}", point);
96
97
- // Error. Both `Debug` and `Display` were implemented, but `{:b}`
98
- // requires `fmt::Binary` to be implemented. This will not work.
+ // The following line would not compile: both `Debug` and `Display`
+ // were implemented, but `{:b}` requires `fmt::Binary` to be
99
+ // implemented, which it hasn't been for `Point2D`.
100
// println!("What does Point2D look like in binary: {:b}?", point);
101
}
102
```
0 commit comments