Skip to content

Commit

Permalink
Auto merge of #15511 - r3c0d3x:patch-1, r=Wafflespeanut
Browse files Browse the repository at this point in the history
Fix fmt::Display vs fmt::Debug URL

<!-- Please describe your changes on the following line: -->
Fixed a Rust documentation link in [`HACKING_QUICKSTART.md`](https://github.com/servo/servo/blob/44e808b5cfd6756a5fb44951575035bf9451932c/docs/HACKING_QUICKSTART.md)
---
The link to Rust's documentation comparing `fmt::Display` and `fmt::Debug` no longer points to the right section of the page.

- [x] These changes do not require tests because it's simply changing a URL in the documentation.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15511)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Feb 11, 2017
2 parents 1ab3c34 + a08fe95 commit eca8c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/HACKING_QUICKSTART.md
Expand Up @@ -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)
Expand Down

0 comments on commit eca8c4e

Please sign in to comment.