about summary refs log tree commit diff
path: root/src/libstd/hash.rs
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-01-03 22:54:18 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-01-03 22:54:18 -0500
commit351409a62287c7993bc680d9dfcfa13cba9c9c0c (patch)
tree47f99908d999aa612a4cd44932dcdc3b3a1a966a /src/libstd/hash.rs
parent8c5bb80d9b8373dd3c14cde0ba79f7d507839782 (diff)
downloadrust-351409a62287c7993bc680d9dfcfa13cba9c9c0c.tar.gz
rust-351409a62287c7993bc680d9dfcfa13cba9c9c0c.zip
sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
Diffstat (limited to 'src/libstd/hash.rs')
-rw-r--r--src/libstd/hash.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/hash.rs b/src/libstd/hash.rs
index 737fef23c74..cdd0e9bf76f 100644
--- a/src/libstd/hash.rs
+++ b/src/libstd/hash.rs
@@ -11,7 +11,7 @@
 //! Generic hashing support.
 //!
 //! This module provides a generic way to compute the hash of a value. The
-//! simplest way to make a type hashable is to use `#[deriving(Hash)]`:
+//! simplest way to make a type hashable is to use `#[derive(Hash)]`:
 //!
 //! # Example
 //!
@@ -19,7 +19,7 @@
 //! use std::hash;
 //! use std::hash::Hash;
 //!
-//! #[deriving(Hash)]
+//! #[derive(Hash)]
 //! struct Person {
 //!     id: uint,
 //!     name: String,
@@ -70,7 +70,7 @@ use rand;
 
 /// `RandomSipHasher` computes the SipHash algorithm from a stream of bytes
 /// initialized with random keys.
-#[deriving(Clone)]
+#[derive(Clone)]
 pub struct RandomSipHasher {
     hasher: sip::SipHasher,
 }