Clippy fixes
This commit is contained in:
@@ -93,7 +93,7 @@ impl Scheme for SysScheme {
|
||||
let data = entry.1()?;
|
||||
self.handles.write().insert(id, Handle {
|
||||
path: entry.0,
|
||||
data: data,
|
||||
data,
|
||||
mode: MODE_FILE | 0o444,
|
||||
seek: 0
|
||||
});
|
||||
|
||||
@@ -15,7 +15,7 @@ pub fn resource() -> Result<Vec<u8>> {
|
||||
let contexts = context::contexts();
|
||||
for (id, context_lock) in contexts.iter() {
|
||||
let context = context_lock.read();
|
||||
rows.push((*id, context.name.read().clone(), context.syscall.clone()));
|
||||
rows.push((*id, context.name.read().clone(), context.syscall));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user