Get rid of clean::TyMethod
It's the same as clean::Function.
This commit is contained in:
parent
9b2b02a840
commit
b3f9795cbb
3 changed files with 4 additions and 14 deletions
|
@ -3752,8 +3752,7 @@ fn render_impl(
|
|||
(true, " hidden")
|
||||
};
|
||||
match item.kind {
|
||||
clean::MethodItem(clean::Method { .. })
|
||||
| clean::TyMethodItem(clean::TyMethod { .. }) => {
|
||||
clean::MethodItem(_) | clean::TyMethodItem(_) => {
|
||||
// Only render when the method is not static or we allow static methods
|
||||
if render_method_item {
|
||||
let id = cx.derive_id(format!("{}.{}", item_type, name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue