Skip to content

Commit 10e7a41

Browse files
committed
---
yaml --- r: 233421 b: refs/heads/beta c: 70e2df5 h: refs/heads/master i: 233419: dcd680a v: v3
1 parent 38dea41 commit 10e7a41

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 2a53744aaacb7bdaba2a20b49f7bf484222f5813
26+
refs/heads/beta: 70e2df5b1bedbab6fc1087fc9b3e66dd5e80b044
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/librustc/metadata/tydecode.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ impl<'a,'tcx> PState<'a,'tcx> {
211211
return &self.data[start_pos..end_pos];
212212
}
213213

214-
pub fn parse_name(&mut self, last: char) -> ast::Name {
214+
fn parse_name(&mut self, last: char) -> ast::Name {
215215
fn is_last(b: char, c: char) -> bool { return c == b; }
216216
let bytes = self.scan(|a| is_last(last, a));
217217
token::intern(str::from_utf8(bytes).unwrap())
@@ -655,7 +655,7 @@ impl<'a,'tcx> PState<'a,'tcx> {
655655
variadic: variadic})
656656
}
657657

658-
pub fn parse_predicate(&mut self) -> ty::Predicate<'tcx> {
658+
fn parse_predicate(&mut self) -> ty::Predicate<'tcx> {
659659
match self.next() {
660660
't' => ty::Binder(self.parse_trait_ref()).to_predicate(),
661661
'e' => ty::Binder(ty::EquatePredicate(self.parse_ty(),
@@ -784,7 +784,7 @@ fn data_log_string(data: &[u8], pos: usize) -> String {
784784
}
785785

786786
// Rust metadata parsing
787-
pub fn parse_defid(buf: &[u8]) -> ast::DefId {
787+
fn parse_defid(buf: &[u8]) -> ast::DefId {
788788
let mut colon_idx = 0;
789789
let len = buf.len();
790790
while colon_idx < len && buf[colon_idx] != ':' as u8 { colon_idx += 1; }

0 commit comments

Comments
 (0)