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

Added examples for parse_bytes(buf: &[u8], radix: uint) in int_macros.rs... #13694

Merged
merged 2 commits into from
Apr 23, 2014

Conversation

jacob-hegna
Copy link
Contributor

... and uint_macros.rs

/// ```rust
/// let digits = [49,50,51,52,53,54,55,56,57];
/// let base = 10;
/// let num = std::i64::from_str_radix(foo, 10);
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't the arguments be digits, base?

@jacob-hegna
Copy link
Contributor Author

ya I know, I commited without hitting "ctrl-s" at first. It is fixed now

@jacob-hegna
Copy link
Contributor Author

Should I re-commit and remove the rust tag to reduce clutter+code size, even if only by a little?

bors added a commit that referenced this pull request Apr 23, 2014
@bors bors closed this Apr 23, 2014
@bors bors merged commit a14c34d into rust-lang:master Apr 23, 2014
arcnmx pushed a commit to arcnmx/rust that referenced this pull request Dec 17, 2022
arcnmx pushed a commit to arcnmx/rust that referenced this pull request Dec 17, 2022
…flodiebold

feat: resolve const for trait impls

Fixed rust-lang#13694
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 28, 2024
Based on rust-lang/rust-clippy#13693

Adds 2 subcommands to `cargo dev`:

- `cargo dev sync update_nightly`: Which updates the nightly versions in
`rust-toolchain` and `clippy_utils/README.md`
- `cargo dev release bump_version`: Bumps the version in all relevant
`Cargo.toml` files

Those are pulled out of
rust-lang/rust-clippy#12759, which I'll rebase
on this.

Next step is to update the documentation, which I'll partly pull out of
rust-lang/rust-clippy#12762

r? @blyxyas (as you reviewed the first PR in the chain and were assigned
to the second one)

cc rust-lang/rust-clippy#13556

changelog: none
flip1995 added a commit to flip1995/rust that referenced this pull request Dec 15, 2024
This updates the documentation after rust-lang#13694. It is not based on that PR
chain and can be merged independently, but should be merged after that
PR.

This is partly pulled from rust-lang#12762, but removing the Josh parts.

This includes instructions on how to publish `clippy_utils`.

Closes rust-lang/rust-clippy#13556 (yes, this
is the final PR 🙂)

r? @blyxyas

changelog: `clippy_utils` is now published to crates.io
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.

4 participants