Skip to content

Commit f131a13

Browse files
committed
Small improvements to types/pointer.md
IIUC, this paragraph is still only talking about raw pointers, so I made that explicit like in the two paragraphs above.
1 parent faac114 commit f131a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/pointer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ 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
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
4545
also have their addition data compared.
4646

4747
## Smart Pointers

0 commit comments

Comments
 (0)