Skip to content

Commit e075d66

Browse files
committed
---
yaml --- r: 35470 b: refs/heads/master c: 364f9af h: refs/heads/master v: v3
1 parent e80fc6c commit e075d66

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 3657d5606d7ea5607a0670341a57c3ef20202ea0
2+
refs/heads/master: 364f9afb64e7797d0117b95866374bb4d5404141
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/librustc/util/ppaux.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,7 @@ fn tys_to_str(cx: ctxt, ts: ~[t]) -> ~str {
261261
}
262262

263263
fn bound_to_str(cx: ctxt, b: param_bound) -> ~str {
264-
match b {
265-
bound_copy => ~"copy",
266-
bound_owned => ~"owned",
267-
bound_send => ~"send",
268-
bound_const => ~"const",
269-
bound_trait(t) => ty_to_str(cx, t)
270-
}
264+
ty::param_bound_to_str(cx, &b)
271265
}
272266

273267
fn ty_to_str(cx: ctxt, typ: t) -> ~str {

0 commit comments

Comments
 (0)