Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde authored and Serial-ATA committed Jul 4, 2024
1 parent a523db7 commit 4fc6b96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lofty/src/tag/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ impl Tag {
}

/// 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> + '_ {
self.take_filter(key, |_| true)
}
Expand All @@ -412,6 +414,8 @@ impl Tag {
///
/// 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
///
/// ```
Expand Down

0 comments on commit 4fc6b96

Please sign in to comment.