diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-29 15:52:23 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-31 22:00:26 -0700 |
| commit | d58f27a82f34bfbfec1fc2dfdfcbed26e4f09f58 (patch) | |
| tree | f1f6b08391cc2afd60389f9a1201d3169aaa8894 /src | |
| parent | 31f5de610f18757faae9af722255f6212cbb953c (diff) | |
| download | rust-d58f27a82f34bfbfec1fc2dfdfcbed26e4f09f58.tar.gz rust-d58f27a82f34bfbfec1fc2dfdfcbed26e4f09f58.zip | |
syntax: Fix an accidental hyperlink in a comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/ext/deriving/generic/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 22aab89ef62..856619882c5 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -1028,7 +1028,7 @@ pub enum Type { // region, raw, other boxes, mutable } -#[deriving(Clone, Encodable, Decodable, Eq, TotalEq, Hash)] +#[deriving(Clone, Encodable, Decodable, PartialEq, TotalEq, Hash)] pub enum Primitive { Int, I8, I16, I32, I64, Uint, U8, U16, U32, U64, diff --git a/src/libsyntax/ext/deriving/generic/mod.rs b/src/libsyntax/ext/deriving/generic/mod.rs index e2290129dc8..aecfe935d30 100644 --- a/src/libsyntax/ext/deriving/generic/mod.rs +++ b/src/libsyntax/ext/deriving/generic/mod.rs @@ -288,7 +288,7 @@ pub enum SubstructureFields<'a> { /** non-matching variants of the enum, [(variant index, ast::Variant, - [field span, field ident, fields])] (i.e. all fields for self are in the + [field span, field ident, fields])] \(i.e. all fields for self are in the first tuple, for other1 are in the second tuple, etc.) */ EnumNonMatching(&'a [(uint, P<ast::Variant>, Vec<(Span, Option<Ident>, @Expr)> )]), |
