mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix fmt::Display vs fmt::Debug URL
This commit is contained in:
parent
1ab3c34dd9
commit
a08fe955eb
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ Use `RUST_BACKTRACE=1` to dump the backtrace when Servo panics.
|
|||
|
||||
### println!()
|
||||
|
||||
You will want to add your own logs. Luckily, many structures [implement the `fmt::Debug` trait](https://doc.rust-lang.org/std/fmt/#fmt::display-vs-fmt::debug), so adding:
|
||||
You will want to add your own logs. Luckily, many structures [implement the `fmt::Debug` trait](https://doc.rust-lang.org/std/fmt/#fmtdisplay-vs-fmtdebug), so adding:
|
||||
|
||||
``` rust
|
||||
println!("foobar: {:?}", foobar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue