Skip to content

Commit 11e893f

Browse files
authored
Merge pull request rust-lang#726 from phansch/small_pointer_improvement
Small improvements to types/pointer.md
2 parents a94b0ef + 4f64772 commit 11e893f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/pointer.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ reference by reborrowing it (`&*` or `&mut *`). Raw pointers are generally
4040
discouraged in Rust code; they exist to support interoperability with foreign
4141
code, and writing performance-critical or low-level functions.
4242

43-
When comparing pointers they are compared by their address, rather than by
44-
what they point to. When comparing pointers to [dynamically sized types] they
45-
also have their addition data compared.
43+
When comparing raw pointers they are compared by their address, rather than by
44+
what they point to. When comparing raw pointers to [dynamically sized types] they
45+
also have their additional data compared.
4646

4747
## Smart Pointers
4848

0 commit comments

Comments
 (0)