Updated visibility
This commit is contained in:
@@ -22,7 +22,7 @@ void log_status(str* message) {
|
||||
|
||||
## Visibility & Exports
|
||||
|
||||
Functions are private to their module by default. The `public` modifier exports the function for cross-module access.
|
||||
Functions are private to their module by default. The `pub` modifier exports the function for cross-module access.
|
||||
|
||||
```mist
|
||||
public i32 get_version() {
|
||||
|
||||
Reference in New Issue
Block a user