Apply suggestions from code review

Co-authored-by: JalonSolov <JalonSolov@gmail.com>
pull/13734/head
serg-meus 2022-03-14 22:31:17 +07:00 committed by GitHub
parent 4da1d67eaf
commit 337948b337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2084,9 +2084,9 @@ __global:
f int // public and mutable both inside and outside parent module f int // public and mutable both inside and outside parent module
} }
``` ```
Private fields are available only inside the same [module](#modules), the attempt Private fields are available only inside the same [module](#modules), any attempt
to access it from another module will cause an error during compilation. to directly access them from another module will cause an error during compilation.
Immutable fields are readonly from anywhere. Public immutable fields are readonly everywhere.
### Methods ### Methods