Use minicore

This commit is contained in:
Yoshua Wuyts 2021-08-08 18:58:42 +02:00
parent 5a3c3a029c
commit f64aacc0c1
3 changed files with 27 additions and 84 deletions

View file

@ -31,6 +31,7 @@
//! eq: sized
//! ord: eq, option
//! derive:
//! fmt:
pub mod marker {
// region:sized
@ -334,6 +335,17 @@ pub mod cmp {
}
// endregion:eq
// region:fmt
pub mod fmt {
pub struct Error;
pub type Result = Result<(), Error>;
pub struct Formatter<'a>;
pub trait Debug {
fn fmt(&self, f: &mut Formatter<'_>) -> Result;
}
}
// endregion:fmt
// region:slice
pub mod slice {
#[lang = "slice"]