mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-19 22:33:42 -04:00
fix an ambiguity warning/error thing
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ pub use arrayvec::*;
|
||||
#[cfg(feature = "alloc")]
|
||||
mod tinyvec;
|
||||
#[cfg(feature = "alloc")]
|
||||
pub use tinyvec::*;
|
||||
pub use crate::tinyvec::*;
|
||||
|
||||
// Replace with mem::take as soon as MSRV allows it
|
||||
fn take<T: Default>(from: &mut T) -> T {
|
||||
|
||||
Reference in New Issue
Block a user