Skip to content

Commit

Permalink
I'm gonna just... start over again
Browse files Browse the repository at this point in the history
this is a bit over the top
  • Loading branch information
meadowsys committed Sep 8, 2024
1 parent c6572b9 commit 22eae9c
Show file tree
Hide file tree
Showing 29 changed files with 14 additions and 70 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 14 additions & 14 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ compile_error!("16-bit platforms are not supported yet (but please do file an is
#[cfg(any(doc, docsrs, kiwingay))]
#[doc = include_str!("../CHANGELOG.md")]
pub mod _changelog {}
pub mod prelude;
// pub mod prelude;

pub mod clone;
pub mod compare;
pub mod convert;
pub mod function;
// pub mod h;
pub mod iterator;
pub mod macros;
pub mod memory;
pub mod option;
pub mod phantom;
pub mod primitive;
pub mod pointer;
pub mod result;
// pub mod clone;
// pub mod compare;
// pub mod convert;
// pub mod function;
// // pub mod h;
// pub mod iterator;
// pub mod macros;
// pub mod memory;
// pub mod option;
// pub mod phantom;
// pub mod primitive;
// pub mod pointer;
// pub mod result;

// mod _internal;
// pub mod prelude;
Expand Down
56 changes: 0 additions & 56 deletions src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,57 +1 @@
//! Prelude module, exporting commonly-used items

pub use crate::clone::{
Clone,
Copy
};
pub use crate::convert::{
Infallible,
From,
Into,
TryFrom,
TryInto,
identity
};
pub use crate::function::{
Fn,
FnMut,
FnOnce
};
pub use crate::macros::{
assert,
assert_eq,
assert_ne,
debug_assert,
debug_assert_eq,
debug_assert_ne
};
pub use crate::memory::{
Sized,
size_of,
size_of_val,
align_of,
align_of_val,

drop,
forget,
replace,
swap,
take,
transmute,
transmute_copy,
zeroed
};
pub use crate::option::{
Option,
Option::Some,
Option::None
};
pub use crate::phantom::{
PhantomData,
PhantomPinned
};
pub use crate::result::{
Result,
Result::Ok,
Result::Err
};

0 comments on commit 22eae9c

Please sign in to comment.