Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -139,28 +139,28 @@ where

// pub fn is_empty<T>(item: T) -> bool
// where
// T: Empty + Eq,
// T: Empty,
// {
// item.eq(T::empty())
// }

// pub fn is_empty_array<T, let N: u32>(array: [T; N]) -> bool
// where
// T: Empty + Eq,
// T: Empty,
// {
// array.all(|elem| is_empty(elem))
// }

// pub fn assert_empty<T>(item: T) -> ()
// where
// T: Empty + Eq,
// T: Empty,
// {
// assert(item.eq(T::empty()))
// }

// pub fn assert_empty_array<T, let N: u32>(array: [T; N]) -> ()
// where
// T: Empty + Eq,
// T: Empty,
// {
// // A cheaper option than `is_empty_array` for if you don't need to gracefully
// // handle a bool result.
Expand Down
Loading