-
Notifications
You must be signed in to change notification settings - Fork 13.3k
run rustfmt on map.rs in libcollections/btree folder #34088
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
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
} | ||
|
||
impl<K, V> Drop for BTreeMap<K, V> { | ||
#[unsafe_destructor_blind_to_params] | ||
fn drop(&mut self) { | ||
unsafe { | ||
for _ in ptr::read(self).into_iter() { } | ||
for _ in ptr::read(self).into_iter() { | ||
} |
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.
Err... This looks weird and against standard Rust style to me.
I am not really sure how many of these comments are bugs and expected behaviours. So over to @nrc. And not sure changing by hand worth it. |
📌 Commit d6560dd has been approved by |
run rustfmt on map.rs in libcollections/btree folder
@bors rollup |
run rustfmt on map.rs in libcollections/btree folder
run rustfmt on map.rs in libcollections/btree folder
No description provided.