Skip to content
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

Change fmt! to format! #11668

Closed
wants to merge 2 commits into from
Closed

Change fmt! to format! #11668

wants to merge 2 commits into from

Conversation

byronwilliams
Copy link
Contributor

fmt! is now deprecated, use format! instead

@@ -1975,7 +1975,7 @@ Supported traits for `deriving` are:
* `Default`, to create an empty instance of a data type.
* `Zero`, to create an zero instance of a numeric data type.
* `ToStr`, to convert to a string. For a type with this instance,
`obj.to_str()` has similar output as `fmt!("%?", obj)`, but it differs in that
`obj.to_str()` has similar output as `format!("%?", obj)`, but it differs in that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format!("{:?}", obj), rather. This is only true of deriving. I think the whole sentence should be removed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(especially since ToStr is deprecated in favor of fmt::Default)

@alexcrichton
Copy link
Member

Could you rebase these into one commit?

Also feel free to comment on the pull request because sadly no one gets any updates on a force push!

@emberian
Copy link
Member

emberian commented Feb 2, 2014

Closed by #11988

@emberian emberian closed this Feb 2, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
…icola

Increase defalt chalk overflow depth to match max solver size

TBC:

 - rust-lang#12279: ok above 480
 - ~~rust-lang#12182~~
 - ~~rust-lang#12095~~
 - rust-lang#11902: ok above 350
 - ~~rust-lang#11668~~
 - rust-lang#11370: ok above 450
 - rust-lang#9754: probably ok above 250 (!), and the code in cause and branch are gone

Closes rust-lang#12279
Closes rust-lang#11902
Closes rust-lang#11370
Closes rust-lang#9754
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants