mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Expand std_shims::prelude to better match std::prelude
This commit is contained in:
@@ -13,6 +13,14 @@ pub use alloc::str;
|
|||||||
pub use alloc::string;
|
pub use alloc::string;
|
||||||
|
|
||||||
pub mod prelude {
|
pub mod prelude {
|
||||||
|
pub use alloc::{
|
||||||
|
format, vec,
|
||||||
|
boxed::Box,
|
||||||
|
borrow::ToOwned,
|
||||||
|
vec::Vec,
|
||||||
|
string::{String, ToString},
|
||||||
|
};
|
||||||
|
|
||||||
#[rustversion::before(1.73)]
|
#[rustversion::before(1.73)]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub trait StdShimsDivCeil {
|
pub trait StdShimsDivCeil {
|
||||||
|
|||||||
Reference in New Issue
Block a user