mirror of
https://codeberg.org/icewind/cube.git
synced 2026-06-03 12:04:10 +02:00
clippy fixes
This commit is contained in:
parent
fe2f12363f
commit
b7f94a36b4
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ impl ExportConfig {
|
|||
if path != self.path {
|
||||
debug!(path = ?self.path, canonicalized = ?path, "path is configured in non canonicalized form");
|
||||
}
|
||||
get_block_size(&path).ok_or_else(|| HandshakeError::UnknownSize(path))?
|
||||
get_block_size(&path).ok_or(HandshakeError::UnknownSize(path))?
|
||||
}
|
||||
size => size,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue