]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_data_structures/tiny_list.rs
Auto merge of #65202 - pietroalbini:scriptify-ci-config, r=alexcrichton
[rust.git] / src / librustc_data_structures / tiny_list.rs
index ea771d9f20f8b69a60068870ba93060854736233..371f0f6fa0b4482eb35b3d4c5ddf3c2b832027d3 100644 (file)
@@ -14,7 +14,7 @@
 #[cfg(test)]
 mod tests;
 
-#[derive(Clone, Hash, Debug, PartialEq)]
+#[derive(Clone)]
 pub struct TinyList<T: PartialEq> {
     head: Option<Element<T>>
 }
@@ -80,7 +80,7 @@ pub fn len(&self) -> usize {
     }
 }
 
-#[derive(Clone, Hash, Debug, PartialEq)]
+#[derive(Clone)]
 struct Element<T: PartialEq> {
     data: T,
     next: Option<Box<Element<T>>>,