File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,7 @@ struct TyDesc {
200
200
align : usize ,
201
201
}
202
202
203
- trait AllTypes { fn dummy ( & self ) {
204
- } }
203
+ trait AllTypes { fn dummy ( & self ) { } }
205
204
impl < T : ?Sized > AllTypes for T { }
206
205
207
206
unsafe fn get_tydesc < T > ( ) -> * const TyDesc {
@@ -293,8 +292,7 @@ impl<'longer_than_self> Arena<'longer_than_self> {
293
292
294
293
unsafe {
295
294
let buf = head. as_ptr ( ) ;
296
- ( buf. offset ( tydesc_start as isize ) ,
297
- buf. offset ( start as isize ) )
295
+ ( buf. offset ( tydesc_start as isize ) , buf. offset ( start as isize ) )
298
296
}
299
297
}
300
298
@@ -392,7 +390,8 @@ struct TypedArenaChunk<T> {
392
390
next : * mut TypedArenaChunk < T > ,
393
391
394
392
/// The number of elements that this chunk can hold.
395
- capacity : usize , // Objects follow here, suitably aligned.
393
+ // Objects follow here, suitably aligned.
394
+ capacity : usize ,
396
395
}
397
396
398
397
fn calculate_size < T > ( capacity : usize ) -> usize {
You can’t perform that action at this time.
0 commit comments