We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[derive(Builder, Debug)] struct Orange { a: String, b: String, } fn main() { let orange = Orange::builder() .set_a("xxx".into()) .set_b(panic!()) .build(); dbg!(orange); }
cargo +nightly miri run The following memory was leaked: alloc1014 (Rust heap, size: 3, align: 1) { 78 78 78 │ xxx }
This can be addressed by using a scope guard.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This can be addressed by using a scope guard.
The text was updated successfully, but these errors were encountered: