mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-02 14:54:30 +00:00
commit
f2f35b6f98
@ -29,7 +29,7 @@ where
|
|||||||
///
|
///
|
||||||
/// let mut map: LinearMap<&str, isize, [_; 8]> = LinearMap::new();
|
/// let mut map: LinearMap<&str, isize, [_; 8]> = LinearMap::new();
|
||||||
/// ```
|
/// ```
|
||||||
pub fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
LinearMap { buffer: Vec::new() }
|
LinearMap { buffer: Vec::new() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user