cl-structures: Update error type in unstable get_many_mut feature for IndexMap
This commit is contained in:
parent
d8e32ee263
commit
d71276b477
@ -106,7 +106,7 @@ impl<V, K: MapIndex> IndexMap<K, V> {
|
|||||||
pub fn get_many_mut<const N: usize>(
|
pub fn get_many_mut<const N: usize>(
|
||||||
&mut self,
|
&mut self,
|
||||||
indices: [K; N],
|
indices: [K; N],
|
||||||
) -> Result<[&mut V; N], GetManyMutError<N>> {
|
) -> Result<[&mut V; N], GetManyMutError> {
|
||||||
self.map.get_many_mut(indices.map(|id| id.get()))
|
self.map.get_many_mut(indices.map(|id| id.get()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user