Skip to content

Commit e1629ad

Browse files
tonowakwprzytula
andauthored
Update content/lessons/03_data_types/data_types.rs
Co-authored-by: Wojciech Przytuła <[email protected]>
1 parent ce3ef17 commit e1629ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/lessons/03_data_types/data_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl Hero {
2626

2727
// We can have multiple `impl` blocks for one struct.
2828
impl Hero {
29-
// Instance method, the first argument (self) is the calling instance,
29+
// Instance method. The first argument (self) is the calling instance,
3030
// just like `self` in Python and `this` in C++.
3131
fn distance(&self, pos: Position) -> u32 {
3232
// For convenience, we don't have to type the argument as `self: &Self`.

0 commit comments

Comments
 (0)