More deprecating of i/u suffixes in libraries
This commit is contained in:
parent
fe4340ab18
commit
00a933f9ec
40 changed files with 201 additions and 201 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue