mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Fix clippy warnings from tests
This commit is contained in:
1 parent
f2bfedd3a6
commit
f592155db7
3 files changed
+128
-125
No files matched your search
@@ -84,6 +84,13 @@ impl ExportManager {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for ExportManager {
|
||||
/// Create a new default ExportManager
|
||||
fn default() -> Self {
|
||||
ExportManager::new()
|
||||
}
|
||||
}
|
||||
|
||||
/// Write the given content to a file with the specified name
|
||||
fn write_to_file(filename: &str, content: &[u8]) -> Result<()> {
|
||||
let mut file = OpenOptions::new().write(true).open(filename)?;
|
||||
|
||||
Reference in new issue
Block a user