about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-29 15:52:23 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-31 22:00:26 -0700
commitd58f27a82f34bfbfec1fc2dfdfcbed26e4f09f58 (patch)
treef1f6b08391cc2afd60389f9a1201d3169aaa8894 /src
parent31f5de610f18757faae9af722255f6212cbb953c (diff)
downloadrust-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.rs2
-rw-r--r--src/libsyntax/ext/deriving/generic/mod.rs2
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)> )]),