rustdoc: Fix missing type parameters on impls
This commit is contained in:
parent
e88defe718
commit
538de73f5b
3 changed files with 30 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue