mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
clippy: fix warnings in various modules in components (#31568)
* clippy: fix warnings in various modules in components * fix: unit tests * fix: build on android * fix: all samplers use new_boxed
This commit is contained in:
parent
19f1f2a8f4
commit
3a5ca785d3
24 changed files with 107 additions and 118 deletions
|
@ -37,7 +37,7 @@ impl TraceDump {
|
|||
{
|
||||
let mut file = fs::File::create(trace_file_path)?;
|
||||
write_prologue(&mut file)?;
|
||||
Ok(TraceDump { file: file })
|
||||
Ok(TraceDump { file })
|
||||
}
|
||||
|
||||
/// Write one trace to the trace dump file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue