1
0
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:
Martin Geisler
2025-09-06 17:08:26 +02:00
committed by GitHub
parent b7aea9ce22
commit 3f479b920b

View File

@@ -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.