Auto merge of #25214 - acgtyrant:patch-1, r=brson
make the definition of static methods explicit
This commit is contained in:
commit
95400c51c3
@ -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…
Reference in New Issue
Block a user