Skip to content

Commit

Permalink
Fixed printn
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Jan 30, 2024
1 parent 46e9f54 commit 74e819c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/guide/my-first-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn void main()
}
```

The `import` statement imports other modules, and we want `println` which
The `import` statement imports other modules, and we want `printn` which
is in `std::io`. Import is always recursive, so `import std::io` actually
imports both `std::io` and its sub-modules, such as `std::io::path` (which
handles file paths).
Expand Down

0 comments on commit 74e819c

Please sign in to comment.