mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
simplify, how can you not love clippy
This commit is contained in:
parent
f73f52605f
commit
7c4057d7d8
@ -213,7 +213,7 @@ impl<'a> CacheCombined<'a> for AnyCache<'a> {
|
||||
let data: Result<A, _> = ASSETS.combine(|cache: AnyCache| A::load(cache, &id));
|
||||
data.map(|data| self.get_or_insert(specifier, data))
|
||||
},
|
||||
|obj| Ok(obj),
|
||||
Ok,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user