Skip to content

Commit 04762dd

Browse files
committed
Fix a typo
1 parent 43e33ea commit 04762dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/arena.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Drop for DropType {
140140
/// An arena which can be used to allocate any type.
141141
/// Allocating in this arena is unsafe since the type system
142142
/// doesn't know which types it contains. In order to
143-
/// allocate safetly, you must store a PhantomData<T>
143+
/// allocate safely, you must store a PhantomData<T>
144144
/// alongside this arena for each type T you allocate.
145145
#[derive(Default)]
146146
struct DropArena {

0 commit comments

Comments
 (0)