Skip to content

Commit c48902f

Browse files
committed
Make ToSmallVec trait public
1 parent faca460 commit c48902f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,9 @@ impl_array!(
16971697
0x40000, 0x60000, 0x80000, 0x10_0000
16981698
);
16991699

1700-
trait ToSmallVec<A:Array> {
1700+
/// Convenience trait for constructing a `SmallVec`
1701+
pub trait ToSmallVec<A:Array> {
1702+
/// Construct a new `SmallVec` from a slice.
17011703
fn to_smallvec(&self) -> SmallVec<A>;
17021704
}
17031705

0 commit comments

Comments
 (0)