Skip to content

Conversation

sanxiyn
Copy link
Contributor

@sanxiyn sanxiyn commented May 21, 2013

No description provided.

@sanxiyn
Copy link
Contributor Author

sanxiyn commented May 21, 2013

Given

use core::comm;
fn f(_x: &[int]) {}
fn main() {
    f(~[0]);
}

Before:

x.rs:1 use core::comm;
       ^~~~~~~~~~~~~~~
x.rs:4     f(~[0]);
             ^~~~~

After:

x.rs:1 use core::comm;
           ^~~~~~~~~~
x.rs:4     f(~[0]);
             ^~~~

@bors bors closed this May 21, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 30, 2021
No lazy static regex

r? `@llogiq`

rust-lang#6500

regex is unnecessary for this lint (rust-lang/rust-clippy#6500 (comment))
lazy_static is unnecessary. The std lazy feature should be  used instead.

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