1
Fork 0

rustc: middle: rename ty::t to Ty and use it unqualified everywhere.

This commit is contained in:
Eduard Burtescu 2014-09-13 21:09:25 +03:00
parent 21da750663
commit 9706d8f602
79 changed files with 1111 additions and 1115 deletions

View file

@ -1257,7 +1257,7 @@ impl Clean<Type> for ast::Ty {
}
}
impl Clean<Type> for ty::t {
impl Clean<Type> for Ty {
fn clean(&self, cx: &DocContext) -> Type {
match ty::get(*self).sty {
ty::ty_bool => Primitive(Bool),
@ -2255,7 +2255,7 @@ impl Clean<Item> for ast::Typedef {
}
fn lang_struct(cx: &DocContext, did: Option<ast::DefId>,
t: ty::t, name: &str,
t: Ty, name: &str,
fallback: fn(Box<Type>) -> Type) -> Type {
let did = match did {
Some(did) => did,