Update README.
This commit is contained in:
parent
5d823762d7
commit
c75e91618b
|
@ -101,11 +101,10 @@ pub enum ManagedSlice<'a, T: 'a> {
|
||||||
Owned(Vec<T>)
|
Owned(Vec<T>)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The implementation of ManagedMap is not yet stable, beware!
|
||||||
pub enum ManagedMap<'a, K: Hash + 'a, V: 'a> {
|
pub enum ManagedMap<'a, K: Hash + 'a, V: 'a> {
|
||||||
/// Borrowed variant.
|
|
||||||
Borrowed(&'a mut [(K, V)]),
|
Borrowed(&'a mut [(K, V)]),
|
||||||
/// Owned variant, only available with the `std` or `alloc` feature enabled.
|
#[cfg(/* BTreeMap available */)]
|
||||||
#[cfg(any(feature = "std", feature = "alloc"))]
|
|
||||||
Owned(BTreeMap<K, V>)
|
Owned(BTreeMap<K, V>)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue