clean up unused code

This commit is contained in:
Evan Almloff committed 2023-01-01 19:00:52 -06:00
1 parent 6f6f6c258f
commit 56154d90be
4 files changed
+5 -62

No files matched your search

-11
View File
@@ -1,5 +1,4 @@
use crate::passes::{AnyMapLike, TypeErasedPass};
use std::any::TypeId;
use std::cmp::Ordering;
/// Join two sorted iterators
@@ -41,14 +40,4 @@ pub(crate) fn union_ordered_iter<'a>(
pub trait State: Default + Clone + AnyMapLike + 'static {
#[doc(hidden)]
fn create_passes() -> Box<[TypeErasedPass<Self>]>;
#[doc(hidden)]
fn clone_or_default(&self) -> Self {
self.clone()
}
#[doc(hidden)]
fn non_clone_members() -> Box<[TypeId]> {
Box::new([])
}
}