tutorial: Make class example compile
This commit is contained in:
parent
ea03315cf4
commit
1cefbf3c78
@ -1822,7 +1822,7 @@ class example {
|
||||
// Constructor
|
||||
self.x = x;
|
||||
self.y = 7;
|
||||
self.a();
|
||||
self.private_member = 8;
|
||||
}
|
||||
|
||||
fn a() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user