about summary refs log tree commit diff
path: root/src/libcore/ptr.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-10-22 18:21:55 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2018-10-23 15:56:25 +0200
commit4972beaf65cad992a6ed791fdefe90e46c09aa7b (patch)
treea6589cb893f6d436e4e2b0aef4fa48bbb3321335 /src/libcore/ptr.rs
parentd74b40205f7ecf30c680dc77e62cf4f127f2db09 (diff)
downloadrust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.tar.gz
rust-4972beaf65cad992a6ed791fdefe90e46c09aa7b.zip
fix typos in various places
Diffstat (limited to 'src/libcore/ptr.rs')
-rw-r--r--src/libcore/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index 1c761ba21b3..b699cb02884 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -38,7 +38,7 @@
 //!   underlying object is live and no reference (just raw pointers) is used to
 //!   access the same memory.
 //!
-//! These axioms, along with careful use of [`offset`] for pointer arithmentic,
+//! These axioms, along with careful use of [`offset`] for pointer arithmetic,
 //! are enough to correctly implement many useful things in unsafe code. Stronger guarantees
 //! will be provided eventually, as the [aliasing] rules are being determined. For more
 //! information, see the [book] as well as the section in the reference devoted