mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Fix new clippy lints
This commit is contained in:
parent
8e324e98a1
commit
2ae3e57c26
33 changed files with 31 additions and 42 deletions
|
@ -186,7 +186,7 @@ impl FixtureWithProjectMeta {
|
|||
|
||||
if let Some(meta) = fixture.strip_prefix("//- target_data_layout:") {
|
||||
let (meta, remain) = meta.split_once('\n').unwrap();
|
||||
target_data_layout = meta.trim().to_owned();
|
||||
meta.trim().clone_into(&mut target_data_layout);
|
||||
fixture = remain;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue