mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Auto merge of #25214 - acgtyrant:patch-1, r=brson
make the definition of static methods explicit
This commit is contained in:
@@ -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:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user