Skip to content

Commit 07410c8

Browse files
committed
---
yaml --- r: 207881 b: refs/heads/snap-stage3 c: 31b7001 h: refs/heads/master i: 207879: 1551fc3 v: v3
1 parent e4c8f69 commit 07410c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 899d4180ef052c3bd7598d18ad1e5af0bc57fc88
4+
refs/heads/snap-stage3: 31b7001b49fe8ce2f3d6aed882b41e55da020ab6
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc_typeck/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ fn convert_item(ccx: &CrateCtxt, it: &ast::Item) {
899899
if let ast::MethodImplItem(ref sig, _) = ii.node {
900900
// if the method specifies a visibility, use that, otherwise
901901
// inherit the visibility from the impl (so `foo` in `pub impl
902-
// { fn foo(); }` is public, but private in `priv impl { fn
902+
// { fn foo(); }` is public, but private in `impl { fn
903903
// foo(); }`).
904904
let method_vis = ii.vis.inherit_from(parent_visibility);
905905
Some((sig, ii.id, ii.ident, method_vis, ii.span))

branches/snap-stage3/src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4772,7 +4772,7 @@ impl<'a> Parser<'a> {
47724772
return self.parse_single_struct_field(Inherited, attrs);
47734773
}
47744774

4775-
/// Parse visibility: PUB, PRIV, or nothing
4775+
/// Parse visibility: PUB or nothing
47764776
fn parse_visibility(&mut self) -> PResult<Visibility> {
47774777
if try!(self.eat_keyword(keywords::Pub)) { Ok(Public) }
47784778
else { Ok(Inherited) }

0 commit comments

Comments
 (0)