We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4f5683 + c65c966 commit d8252aeCopy full SHA for d8252ae
README.md
@@ -33,7 +33,7 @@ use gc::Gc;
33
34
#[derive(Trace, Finalize)]
35
struct Foo {
36
- x: Gc<Foo>,
+ x: Option<Gc<Foo>>,
37
y: u8,
38
// ...
39
}
@@ -81,7 +81,7 @@ use bar::Baz;
81
82
83
84
85
#[unsafe_ignore_trace]
86
y: Baz, // we are assuming that `Baz` doesn't contain any `Gc` objects
87
0 commit comments