diff --git a/lib.rs b/lib.rs index c935894..1fc0088 100644 --- a/lib.rs +++ b/lib.rs @@ -1697,7 +1697,9 @@ impl_array!( 0x40000, 0x60000, 0x80000, 0x10_0000 ); -trait ToSmallVec { +/// Convenience trait for constructing a `SmallVec` +pub trait ToSmallVec { + /// Construct a new `SmallVec` from a slice. fn to_smallvec(&self) -> SmallVec; }