]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/collections/hash/set.rs
sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
[rust.git] / src / libstd / collections / hash / set.rs
index 0a45a51f034db5a95ffee48cd012833da432979f..28c78ca3a913715315bb1a081516f7d980e74c78 100644 (file)
@@ -71,7 +71,7 @@
 ///
 /// ```
 /// use std::collections::HashSet;
-/// #[deriving(Hash, Eq, PartialEq, Show)]
+/// #[derive(Hash, Eq, PartialEq, Show)]
 /// struct Viking<'a> {
 ///     name: &'a str,
 ///     power: uint,
@@ -89,7 +89,7 @@
 ///     println!("{}", x);
 /// }
 /// ```
-#[deriving(Clone)]
+#[derive(Clone)]
 #[stable]
 pub struct HashSet<T, H = RandomSipHasher> {
     map: HashMap<T, (), H>