File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,7 @@ struct TyDesc {
200200 align : usize ,
201201}
202202
203- trait AllTypes { fn dummy ( & self ) {
204- } }
203+ trait AllTypes { fn dummy ( & self ) { } }
205204impl < T : ?Sized > AllTypes for T { }
206205
207206unsafe fn get_tydesc < T > ( ) -> * const TyDesc {
@@ -293,8 +292,7 @@ impl<'longer_than_self> Arena<'longer_than_self> {
293292
294293 unsafe {
295294 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 ) )
298296 }
299297 }
300298
@@ -392,7 +390,8 @@ struct TypedArenaChunk<T> {
392390 next : * mut TypedArenaChunk < T > ,
393391
394392 /// 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 ,
396395}
397396
398397fn calculate_size < T > ( capacity : usize ) -> usize {
You can’t perform that action at this time.
0 commit comments