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

term: update example to be right (thanks @SiegeLord) #14263

Merged
merged 1 commit into from
May 19, 2014
Merged

term: update example to be right (thanks @SiegeLord) #14263

merged 1 commit into from
May 19, 2014

Conversation

emberian
Copy link
Member

No description provided.

//! t.fg(term::color::GREEN).unwrap();
//! println!("hello, ");
//! (write!(&mut t, "hello, ")).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

write!() no longer needs &mut t, just pass t directly.

@emberian
Copy link
Member Author

@kballard updated

bors added a commit that referenced this pull request May 18, 2014
@bors bors closed this May 19, 2014
@bors bors merged commit 154dfb5 into rust-lang:master May 19, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 27, 2025
…st-lang#14269)

`INTEGER_BITS` better represents the addition of the `BITS` value on the
primitive integer types.

Inspired by rust-lang#14263

changelog: none
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 27, 2025
…nual_div_ceil` (rust-lang#14263)

- The name of an MSRV alias should describe its functionality, and it is
not appropriate for it to be the same as the name of the lint that uses
it.
- Additionally, while `manual_div_ceil` allows setting MSRV, this is not
correctly reflected in the configuration information.

changelog: none
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 20, 2025
I renamed the MSRV alias `MANUAL_DIV_CEIL` to `DIV_CEIL` in rust-lang#14263, as
MSRV aliases should represent their capability rather than the lint
name. However, it seems this change was mistakenly overwritten in
rust-lang#14022.

changelog: none
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