mirror of
https://git.pumpin.online/funkpower/catena.git
synced 2026-11-06 21:45:38 +00:00
fmt
check.sh runs cargo fmt --check and three of my commits did not.
This commit is contained in:
4 files changed
+15
-13
No files matched your search
@@ -22,7 +22,11 @@ pub struct Ask {
|
||||
|
||||
impl Default for Ask {
|
||||
fn default() -> Self {
|
||||
Self { polite: None, timeout: crate::TIMEOUT, attempts: crate::ATTEMPTS }
|
||||
Self {
|
||||
polite: None,
|
||||
timeout: crate::TIMEOUT,
|
||||
attempts: crate::ATTEMPTS,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +77,9 @@ pub fn lookup(
|
||||
}
|
||||
match best {
|
||||
Some(record) => Ok(Some(record)),
|
||||
None => Err(last_error.unwrap_or_else(|| Error::Unreachable("no register answered".into()))),
|
||||
None => {
|
||||
Err(last_error.unwrap_or_else(|| Error::Unreachable("no register answered".into())))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user