Skip to content

Commit d58f27a

Browse files
committed
syntax: Fix an accidental hyperlink in a comment
1 parent 31f5de6 commit d58f27a

File tree

2 files changed

+2
-2
lines changed
  • src

2 files changed

+2
-2
lines changed

src/librustdoc/clean/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ pub enum Type {
10281028
// region, raw, other boxes, mutable
10291029
}
10301030

1031-
#[deriving(Clone, Encodable, Decodable, Eq, TotalEq, Hash)]
1031+
#[deriving(Clone, Encodable, Decodable, PartialEq, TotalEq, Hash)]
10321032
pub enum Primitive {
10331033
Int, I8, I16, I32, I64,
10341034
Uint, U8, U16, U32, U64,

src/libsyntax/ext/deriving/generic/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ pub enum SubstructureFields<'a> {
288288

289289
/**
290290
non-matching variants of the enum, [(variant index, ast::Variant,
291-
[field span, field ident, fields])] (i.e. all fields for self are in the
291+
[field span, field ident, fields])] \(i.e. all fields for self are in the
292292
first tuple, for other1 are in the second tuple, etc.)
293293
*/
294294
EnumNonMatching(&'a [(uint, P<ast::Variant>, Vec<(Span, Option<Ident>, @Expr)> )]),

0 commit comments

Comments
 (0)