Skip to content

Commit e8e2ab8

Browse files
committed
Fix typos
1 parent ff712eb commit e8e2ab8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/librustc/front/map/collector.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct NodeCollector<'ast> {
2828
pub map: Vec<MapEntry<'ast>>,
2929
/// The definitions, used for name resolution
3030
pub definitions: Definitions,
31-
/// The parrent of this node
31+
/// The parent of this node
3232
pub parent_node: NodeId,
3333
}
3434

src/librustc/front/map/definitions.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use syntax::ast;
1616
use syntax::parse::token::InternedString;
1717
use util::nodemap::NodeMap;
1818

19-
/// A definition, that defines are
19+
/// The definition table containing node definitions
2020
#[derive(Clone)]
2121
pub struct Definitions {
2222
data: Vec<DefData>,
@@ -101,7 +101,7 @@ pub enum DefPathData {
101101
/// A struct field
102102
Field(hir::StructFieldKind),
103103
/// Implicit ctor for a tuple-like struct
104-
StructCtor,
104+
StructCtor,
105105
/// Initializer for a constant
106106
Initializer,
107107
/// A pattern binding

0 commit comments

Comments
 (0)