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

SmallIntSet union and symmetric_difference should be in-order traversals like TreeSet #6696

Closed
thestinger opened this issue May 23, 2013 · 0 comments

Comments

@thestinger
Copy link
Contributor

No description provided.

flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 11, 2021
Downgrade trivial_regex to nursery

See rust-lang#6690. I think there is still value in a trivial_regex lint, but only if clippy can tell that the regex is only ever constructed and applied to a single input.

```rust
let regex = Regex::new("trivial_regex")?;
println!("{}", regex.is_match(s));
// `regex` never used again
```

---

changelog: remove `trivial_regex` from default set of enabled lints
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

No branches or pull requests

1 participant