mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fix typo (#5057)
This commit is contained in:
parent
f0eb9dbebd
commit
546b5a9e5c
@ -243,8 +243,8 @@ private:
|
||||
// How to declare a member function
|
||||
fn AClass.is_ready() bool
|
||||
{
|
||||
// inside a member function, members can be accessed thrugh the
|
||||
// this keyword and the field selector '.'
|
||||
// inside a member function, members can be accessed through the
|
||||
// 'this' keyword and the field selector '.'
|
||||
return(this.public_var > 10);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user