1
Fork 0

rustdoc: Fix missing type parameters on impls

This commit is contained in:
Oliver Middleton 2016-05-12 18:23:11 +01:00
parent e88defe718
commit 538de73f5b
3 changed files with 30 additions and 8 deletions

View file

@ -1534,13 +1534,6 @@ impl Type {
}
}
pub fn trait_name(&self) -> Option<String> {
match *self {
ResolvedPath { ref path, .. } => Some(path.last_name()),
_ => None,
}
}
pub fn is_generic(&self) -> bool {
match *self {
ResolvedPath { is_generic, .. } => is_generic,