File tree 2 files changed +4
-4
lines changed
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 {
209
209
) ;
210
210
211
211
// 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.
213
213
// Other conditions must be upheld by the caller
214
214
unsafe {
215
215
match layout. size ( ) {
@@ -238,7 +238,7 @@ unsafe impl AllocRef for Global {
238
238
) ;
239
239
240
240
// 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.
242
242
// Other conditions must be upheld by the caller
243
243
unsafe {
244
244
match layout. size ( ) {
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ unsafe impl AllocRef for System {
185
185
) ;
186
186
187
187
// 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.
189
189
// Other conditions must be upheld by the caller
190
190
unsafe {
191
191
match layout. size ( ) {
@@ -214,7 +214,7 @@ unsafe impl AllocRef for System {
214
214
) ;
215
215
216
216
// 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.
218
218
// Other conditions must be upheld by the caller
219
219
unsafe {
220
220
match layout. size ( ) {
You can’t perform that action at this time.
0 commit comments