about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-09 17:07:36 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-09 17:07:36 +0200
commit04762ddfbb3e4790d18891def148a69832d89601 (patch)
tree98559bba8e0374a8109639e22ac783fc391321b5
parent43e33ea1fff581f74478b8181614b0a424dee2b0 (diff)
downloadrust-04762ddfbb3e4790d18891def148a69832d89601.tar.gz
rust-04762ddfbb3e4790d18891def148a69832d89601.zip
Fix a typo
-rw-r--r--src/librustc/arena.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/arena.rs b/src/librustc/arena.rs
index cafa973ea8b..e9751a23f12 100644
--- a/src/librustc/arena.rs
+++ b/src/librustc/arena.rs
@@ -140,7 +140,7 @@ impl Drop for DropType {
 /// An arena which can be used to allocate any type.
 /// Allocating in this arena is unsafe since the type system
 /// doesn't know which types it contains. In order to
-/// allocate safetly, you must store a PhantomData<T>
+/// allocate safely, you must store a PhantomData<T>
 /// alongside this arena for each type T you allocate.
 #[derive(Default)]
 struct DropArena {