mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-02 14:54:30 +00:00
Fix formatting.
This commit is contained in:
parent
59bacfda0c
commit
455faace03
@ -1169,9 +1169,9 @@ where
|
|||||||
self.core.retain_in_order(move |k, v| f(k, v));
|
self.core.retain_in_order(move |k, v| f(k, v));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Shortens the map, keeping the first len elements and dropping the rest.
|
/// Shortens the map, keeping the first `len` elements and dropping the rest.
|
||||||
///
|
///
|
||||||
/// If len is greater than the map’s current length, this has no effect.
|
/// If `len` is greater than the map's current length, this has no effect.
|
||||||
///
|
///
|
||||||
/// Computes in *O*(1) time (average).
|
/// Computes in *O*(1) time (average).
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user