From d2e1bfb123a5f6a8caf1e866dceb59ea51e8a1ec Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 30 Jan 2013 14:29:47 -0800 Subject: [PATCH] librustc: Long line. rs=burning --- src/librustc/middle/ty.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/librustc/middle/ty.rs b/src/librustc/middle/ty.rs index 6833c82e2d20..2b350706afbd 100644 --- a/src/librustc/middle/ty.rs +++ b/src/librustc/middle/ty.rs @@ -339,7 +339,9 @@ pub pure fn get(t: t) -> t_box { pub pure fn tbox_has_flag(tb: t_box, flag: tbox_flag) -> bool { (tb.flags & (flag as uint)) != 0u } -pub pure fn type_has_params(t: t) -> bool { tbox_has_flag(get(t), has_params) } +pub pure fn type_has_params(t: t) -> bool { + tbox_has_flag(get(t), has_params) +} pub pure fn type_has_self(t: t) -> bool { tbox_has_flag(get(t), has_self) } pub pure fn type_needs_infer(t: t) -> bool { tbox_has_flag(get(t), needs_infer)