Skip to content

Commit

Permalink
Make ToSmallVec trait public
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Apr 6, 2020
1 parent faca460 commit c48902f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,9 @@ impl_array!(
0x40000, 0x60000, 0x80000, 0x10_0000
);

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

Expand Down

0 comments on commit c48902f

Please sign in to comment.