diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2014-03-11 20:07:42 -0700 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2014-03-12 18:58:54 -0700 |
| commit | 62026fd6b64296c85a8150119e2cd6a162b8b5e0 (patch) | |
| tree | 38656991848d232159a9b751c289f8d9103014ee /src/libsyntax | |
| parent | d2cfd543f764c4a3bab9149fe54233c4aa20e6d5 (diff) | |
| download | rust-62026fd6b64296c85a8150119e2cd6a162b8b5e0.tar.gz rust-62026fd6b64296c85a8150119e2cd6a162b8b5e0.zip | |
syntax: change the #[deriving(Hash)] typaram variable name
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/deriving/hash.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/deriving/hash.rs b/src/libsyntax/ext/deriving/hash.rs index 299989d5fe6..a94feee9d37 100644 --- a/src/libsyntax/ext/deriving/hash.rs +++ b/src/libsyntax/ext/deriving/hash.rs @@ -24,12 +24,12 @@ pub fn expand_deriving_hash(cx: &mut ExtCtxt, let (path, generics, args) = if cx.ecfg.deriving_hash_type_parameter { (Path::new_(vec!("std", "hash", "Hash"), None, - vec!(~Literal(Path::new_local("__H"))), true), + vec!(~Literal(Path::new_local("__S"))), true), LifetimeBounds { lifetimes: Vec::new(), - bounds: vec!(("__H", vec!(Path::new(vec!("std", "io", "Writer"))))), + bounds: vec!(("__S", vec!(Path::new(vec!("std", "io", "Writer"))))), }, - Path::new_local("__H")) + Path::new_local("__S")) } else { (Path::new(vec!("std", "hash", "Hash")), LifetimeBounds::empty(), |
