You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-12-24 07:19:47 +02:00
docs: improve language in modules section (#2880)
I asked Gemini to review the English for inconsistencies and grammar mistakes. This is the result and I hope it's useful! As a non-native speaker, it is hard for me to evaluate the finer details, so let me know if you would like to see changes (or even better: make them directly in the PR with the suggestion function).
This commit is contained in:
@@ -46,7 +46,7 @@ fn main() {
|
||||
<details>
|
||||
|
||||
- This slide demonstrates how privacy in structs is module-based. Students
|
||||
coming from object oriented languages may be used to types being the
|
||||
coming from object-oriented languages may be used to types being the
|
||||
encapsulation boundary, so this demonstrates how Rust behaves differently
|
||||
while showing how we can still achieve encapsulation.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user