-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
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
enable Miri leak checker #209
Conversation
@@ -865,6 +865,8 @@ impl<A: Array> SmallVec<A> { | |||
|
|||
/// Insert multiple elements at position `index`, shifting all following elements toward the | |||
/// back. | |||
/// | |||
/// Note: when the iterator panics, this can leak memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this when I read that the leak was intentional; if this is still considered a bug I can also remove it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it for now, and remove it if/when the leak is fixed.
@bors-servo r+ |
📌 Commit cbe3620 has been approved by |
☀️ Test successful - checks-travis |
Works around #208