More deprecating of i/u suffixes in libraries

This commit is contained in:
Alfie John 2015-01-25 10:58:43 +00:00
parent fe4340ab18
commit 00a933f9ec
40 changed files with 201 additions and 201 deletions

View file

@ -531,8 +531,8 @@ pub fn parameterized<'tcx>(cx: &ctxt<'tcx>,
pub fn ty_to_short_str<'tcx>(cx: &ctxt<'tcx>, typ: Ty<'tcx>) -> String {
let mut s = typ.repr(cx).to_string();
if s.len() >= 32u {
s = (&s[0u..32u]).to_string();
if s.len() >= 32 {
s = (&s[0u..32]).to_string();
}
return s;
}