mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-12 13:42:34 +00:00
Add comments
This commit is contained in:
parent
a523db78d1
commit
4fc6b96f40
1 changed files with 4 additions and 0 deletions
|
@ -404,6 +404,8 @@ impl Tag {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Removes all items with the specified [`ItemKey`], and returns them
|
/// Removes all items with the specified [`ItemKey`], and returns them
|
||||||
|
///
|
||||||
|
/// See also: [take_filter()](Self::take_filter)
|
||||||
pub fn take(&mut self, key: &ItemKey) -> impl Iterator<Item = TagItem> + '_ {
|
pub fn take(&mut self, key: &ItemKey) -> impl Iterator<Item = TagItem> + '_ {
|
||||||
self.take_filter(key, |_| true)
|
self.take_filter(key, |_| true)
|
||||||
}
|
}
|
||||||
|
@ -412,6 +414,8 @@ impl Tag {
|
||||||
///
|
///
|
||||||
/// Only takes items for which `filter()` returns `true`. All other items are retained.
|
/// Only takes items for which `filter()` returns `true`. All other items are retained.
|
||||||
///
|
///
|
||||||
|
/// Returns the selected items in order and preserves the ordering of the remaining items.
|
||||||
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in a new issue