Fix new clippy lints

This commit is contained in:
Lukas Wirth 2024-03-22 11:38:18 +01:00
parent 8e324e98a1
commit 2ae3e57c26
33 changed files with 31 additions and 42 deletions

View file

@ -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