Skip to content

Commit 2e262b4

Browse files
committed
Remove unneeded default
1 parent 2336123 commit 2e262b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ unsafe impl<T: Immutable + Trace> Trace for Box<T> {
228228
unsafe impl<T: Immutable + Trace + HasNoGc> Trace for Box<T> {
229229
fn trace(_: &Self) {}
230230
const TRACE_TYPE_INFO: GcTypeInfo = GcTypeInfo::new::<Self>();
231-
default const TRACE_CHILD_TYPE_INFO: [Option<GcTypeInfo>; 8] = GcTypeInfo::one_child::<T>();
231+
const TRACE_CHILD_TYPE_INFO: [Option<GcTypeInfo>; 8] = GcTypeInfo::one_child::<T>();
232232
fn trace_transitive_type_info(tti: &mut Tti) {
233233
tti.add_direct::<Self>();
234234
tti.add_trans(T::trace_transitive_type_info);
@@ -302,7 +302,7 @@ struct Foo<'r> {
302302
unsafe impl<'r> Trace for Foo<'r> {
303303
fn trace(_: &Foo<'r>) {}
304304
const TRACE_TYPE_INFO: GcTypeInfo = GcTypeInfo::new::<Self>();
305-
default const TRACE_CHILD_TYPE_INFO: [Option<GcTypeInfo>; 8] =
305+
const TRACE_CHILD_TYPE_INFO: [Option<GcTypeInfo>; 8] =
306306
GcTypeInfo::one_child::<Gc<'r, usize>>();
307307
fn trace_transitive_type_info(tti: &mut Tti) {
308308
tti.add_direct::<Self>();

0 commit comments

Comments
 (0)