File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ unsafe impl AllocRef for Global {
209209 ) ;
210210
211211 // SAFETY: `new_size` must be non-zero, which is checked in the match expression.
212- // If `new_size` is zero, than `old_size` has to be zero as well.
212+ // If `new_size` is zero, then `old_size` has to be zero as well.
213213 // Other conditions must be upheld by the caller
214214 unsafe {
215215 match layout. size ( ) {
@@ -238,7 +238,7 @@ unsafe impl AllocRef for Global {
238238 ) ;
239239
240240 // SAFETY: `new_size` must be non-zero, which is checked in the match expression.
241- // If `new_size` is zero, than `old_size` has to be zero as well.
241+ // If `new_size` is zero, then `old_size` has to be zero as well.
242242 // Other conditions must be upheld by the caller
243243 unsafe {
244244 match layout. size ( ) {
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ unsafe impl AllocRef for System {
185185 ) ;
186186
187187 // SAFETY: `new_size` must be non-zero, which is checked in the match expression.
188- // If `new_size` is zero, than `old_size` has to be zero as well.
188+ // If `new_size` is zero, then `old_size` has to be zero as well.
189189 // Other conditions must be upheld by the caller
190190 unsafe {
191191 match layout. size ( ) {
@@ -214,7 +214,7 @@ unsafe impl AllocRef for System {
214214 ) ;
215215
216216 // SAFETY: `new_size` must be non-zero, which is checked in the match expression.
217- // If `new_size` is zero, than `old_size` has to be zero as well.
217+ // If `new_size` is zero, then `old_size` has to be zero as well.
218218 // Other conditions must be upheld by the caller
219219 unsafe {
220220 match layout. size ( ) {
You can’t perform that action at this time.
0 commit comments