diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-09 17:07:36 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-09 17:07:36 +0200 |
| commit | 04762ddfbb3e4790d18891def148a69832d89601 (patch) | |
| tree | 98559bba8e0374a8109639e22ac783fc391321b5 | |
| parent | 43e33ea1fff581f74478b8181614b0a424dee2b0 (diff) | |
| download | rust-04762ddfbb3e4790d18891def148a69832d89601.tar.gz rust-04762ddfbb3e4790d18891def148a69832d89601.zip | |
Fix a typo
| -rw-r--r-- | src/librustc/arena.rs | 2 |
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 { |
