mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix some clippy lints
This commit is contained in:
parent
8ad7c0439c
commit
6c799dac1e
8 changed files with 9 additions and 14 deletions
|
@ -147,7 +147,7 @@ impl Fixture {
|
|||
if line.starts_with("// ")
|
||||
&& line.contains(':')
|
||||
&& !line.contains("::")
|
||||
&& !line.contains(".")
|
||||
&& !line.contains('.')
|
||||
&& line.chars().all(|it| !it.is_uppercase())
|
||||
{
|
||||
panic!("looks like invalid metadata line: {:?}", line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue