Skip to content

Announcing Rust 1.32.0 #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 17, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update posts/2019-01-17-Rust-1.32.0.md
Co-Authored-By: steveklabnik <steve@steveklabnik.com>
  • Loading branch information
Centril and steveklabnik authored Jan 17, 2019
commit 3ee85e37a05ff21f726a647842631f18c88ee475
2 changes: 1 addition & 1 deletion posts/2019-01-17-Rust-1.32.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ println!("{:#?}", x);

This isn't the *largest* speed bump, but it is a lot of stuff to simply show the value of `x`.
Additionally, there's no context here. If you have several of these `println!`s, it can be hard
to tell which is which, unless you add your own context to each invocation, causing even more work.
to tell which is which, unless you add your own context to each invocation, requiring even more work.

In Rust 1.32.0, [we've added a new macro,
`dbg!`](https://github.com/rust-lang/rust/pull/56395/), for this purpose:
Expand Down