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.
This somehow causes a destructor to be called twice:
struct Foo { data: ~[int] } impl Foo { fn bar(~self) -> ~Foo { self } } fn main() { (~Foo{data: ~[1,2,3]}).bar(); }