Skip to content

Commit c2bcd14

Browse files
committed
---
yaml --- r: 7139 b: refs/heads/master c: 9e2b273 h: refs/heads/master i: 7137: 325eacc 7135: bd316ab v: v3
1 parent b1daf80 commit c2bcd14

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a62bd9abeca0c99b59fc1621885402e267f10956
2+
refs/heads/master: 9e2b2732214d080bff6e19f64d84e9df3b704320

trunk/src/comp/middle/ty.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,8 +847,7 @@ fn type_is_bool(cx: ctxt, ty: t) -> bool {
847847
fn type_is_structural(cx: ctxt, ty: t) -> bool {
848848
alt struct(cx, ty) {
849849
ty_rec(_) | ty_tup(_) | ty_tag(_, _) | ty_fn(_) |
850-
ty_native_fn(_, _) | ty_obj(_) | ty_res(_, _, _) |
851-
ty_iface(_, _) { true }
850+
ty_native_fn(_, _) | ty_obj(_) | ty_res(_, _, _) { true }
852851
_ { false }
853852
}
854853
}

0 commit comments

Comments
 (0)