Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ impl<T: Clone> EcoVec<T> {
///
/// Clones the vector if its reference count is larger than 1.
///
/// Note that this clones the vector even if `f` always returns `false`. To
/// Note that this clones the vector even if `f` always returns `true`. To
/// prevent that, you can first iterate over the vector yourself and then
/// only call `retain` if your condition is `false` for some element.
pub fn retain<F>(&mut self, mut f: F)
Expand Down