Skip to content

doc: Reorganize the library index #12312

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 1 commit into from
Feb 16, 2014
Merged

doc: Reorganize the library index #12312

merged 1 commit into from
Feb 16, 2014

Conversation

brson
Copy link
Contributor

@brson brson commented Feb 16, 2014

Only single out std. Put everything else in a consistent list.

Only single out std. Put everything else in a consistent list.
bors added a commit that referenced this pull request Feb 16, 2014
Only single out std. Put everything else in a consistent list.
@bors bors closed this Feb 16, 2014
@bors bors merged commit 58a2b7d into rust-lang:master Feb 16, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 4, 2024
…ednet

new lint `legacy_numeric_constants`

Rework of rust-lang#10997

- uses diagnostic items
- does not lint imports of the float modules (`use std::f32`)
- does not lint usage of float constants that look like `f32::MIN`

I chose to make the float changes because the following pattern is actually pretty useful
```rust
use std::f32;
let omega = freq * 2 * f32::consts::PI;
```
and the float modules are not TBD-deprecated like the integer modules.

Closes rust-lang#10995

---

changelog: New lint [`legacy_numeric_constants`]
[rust-lang#12312](rust-lang/rust-clippy#12312)
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