Update method-syntax.md
make the definition of static methods explicit
This commit is contained in:
parent
b402c43f08
commit
544362c9b8
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ circle to any arbitrary size.
|
|||
|
||||
# Static methods
|
||||
|
||||
You can also define methods that do not take a `self` parameter. Here’s a
|
||||
You can also define static methods that do not take a `self` parameter. Here’s a
|
||||
pattern that’s very common in Rust code:
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue