mirror of
https://github.com/jht5945/rust_util.git
synced 2025-12-29 00:20:04 +08:00
refactor: fix clippy
This commit is contained in:
@@ -26,11 +26,7 @@ impl JoinFilesReader {
|
||||
if !files.is_empty() {
|
||||
file_lines = Some(Box::new(open_file_as_lines(&files[0])?));
|
||||
}
|
||||
Ok(Self {
|
||||
files,
|
||||
file_ptr,
|
||||
file_lines,
|
||||
})
|
||||
Ok(Self { files, file_ptr, file_lines })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user