We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3ef17 commit e1629adCopy full SHA for e1629ad
content/lessons/03_data_types/data_types.rs
@@ -26,7 +26,7 @@ impl Hero {
26
27
// We can have multiple `impl` blocks for one struct.
28
impl Hero {
29
- // Instance method, the first argument (self) is the calling instance,
+ // Instance method. The first argument (self) is the calling instance,
30
// just like `self` in Python and `this` in C++.
31
fn distance(&self, pos: Position) -> u32 {
32
// For convenience, we don't have to type the argument as `self: &Self`.
0 commit comments