From d58f27a82f34bfbfec1fc2dfdfcbed26e4f09f58 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 29 May 2014 15:52:23 -0700 Subject: [PATCH] syntax: Fix an accidental hyperlink in a comment --- src/librustdoc/clean/mod.rs | 2 +- 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, Vec<(Span, Option, @Expr)> )]), -- 2.44.0