Skip to content

Commit

Permalink
Merge pull request #8 from lch361/main
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarumych committed Apr 18, 2024
2 parents 88598ac + a16a359 commit f65f98c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/nightly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
pub use core::alloc;

#[cfg(feature = "alloc")]
pub use alloc_crate::{alloc, boxed, vec};
pub use alloc_crate::{alloc, boxed, vec, collections};
5 changes: 5 additions & 0 deletions src/stable/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ mod macros;
#[cfg(feature = "alloc")]
mod slice;

#[cfg(feature = "alloc")]
pub mod collections {
pub use super::raw_vec::{TryReserveError, TryReserveErrorKind};
}

#[cfg(feature = "alloc")]
#[track_caller]
#[inline(always)]
Expand Down

0 comments on commit f65f98c

Please sign in to comment.