Skip to content

Commit b55adf5

Browse files
Merge pull request #726 from phansch/small_pointer_improvement
Small improvements to types/pointer.md
2 parents 950aa08 + 5ac7843 commit b55adf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/pointer.md

Lines changed: 3 additions & 3 deletions
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)