mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-28 02:47:55 +00:00
Appease Clippy
This commit is contained in:
+1
-4
@@ -89,10 +89,7 @@ impl Node {
|
||||
}
|
||||
|
||||
pub fn location(&self) -> Option<&NodeLocation> {
|
||||
match self.location {
|
||||
Some(ref location) => Some(&**location),
|
||||
None => None
|
||||
}
|
||||
self.location.as_deref()
|
||||
}
|
||||
|
||||
pub fn update_location(&mut self, location: Arc<NodeLocation>) {
|
||||
|
||||
Reference in New Issue
Block a user