Skip to content

Commit bce8feb

Browse files
committed
---
yaml --- r: 210167 b: refs/heads/try c: 31b7001 h: refs/heads/master i: 210165: 7300141 210163: 7da07d3 210159: 69fd5c8 v: v3
1 parent 4dfa3b9 commit bce8feb

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 899d4180ef052c3bd7598d18ad1e5af0bc57fc88
5+
refs/heads/try: 31b7001b49fe8ce2f3d6aed882b41e55da020ab6
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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/try/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)