Skip to content

Commit

Permalink
Fixed self in trait methods (FuelLabs#3832)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr00vytvniks authored Jan 21, 2023
1 parent 5968792 commit d1506d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forc-plugins/forc-doc/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ impl Renderable for TyTraitFn {
: "mut ";
}
@ if param.is_self() {
: "self, "
: "self"
} else {
: param.name.as_str();
: ": ";
Expand Down

0 comments on commit d1506d9

Please sign in to comment.