mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Fix new clippy lints
This commit is contained in:
parent
8e324e98a1
commit
2ae3e57c26
33 changed files with 31 additions and 42 deletions
|
@ -69,7 +69,7 @@ impl CommentBlock {
|
|||
panic!("Use plain (non-doc) comments with tags like {tag}:\n {first}");
|
||||
}
|
||||
|
||||
block.id = id.trim().to_owned();
|
||||
id.trim().clone_into(&mut block.id);
|
||||
true
|
||||
});
|
||||
blocks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue