Skip to content

Commit 0867e24

Browse files
authored
references: remove weasel words (#3038)
This PR removes imprecise language ('weasel words') to align with the new precision guidelines in #3029. --- *Note: This PR was generated using Gemini. Please review the changes accordingly. If the new style is not desired for this section, feel free to close this PR.*
1 parent 04f9d7f commit 0867e24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/references/shared.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ value.
3939
will recognize references as pointers. Later parts of the course will cover
4040
how Rust prevents the memory-safety bugs that come from using raw pointers.
4141

42-
- Explicit referencing with `&` is usually required. However, Rust performs
43-
automatic referencing and dereferencing when invoking methods.
42+
- Explicit referencing with `&` is required, except when invoking methods where
43+
Rust performs automatic referencing and dereferencing.
4444

4545
- Rust will auto-dereference in some cases, in particular when invoking methods
4646
(try `r.is_ascii()`). There is no need for an `->` operator like in C++.

0 commit comments

Comments
 (0)