Skip to content

Commit

Permalink
Update valuable/src/slice.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Taiki Endo <[email protected]>
  • Loading branch information
2 people authored and carllerche committed Nov 20, 2021
1 parent eb5e0a0 commit 997e807
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions valuable/src/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,6 @@ macro_rules! slice {
self.len() == 0
}

/// Returns the number of elements in the slice
///
/// # Examples
///
/// ```
/// use valuable::Slice;
///
/// let slice = Slice::U32(&[1, 1, 2, 3, 5]);
/// assert_eq!(5, slice.len());
/// ```

/// Returns an iterator over the slice.
///
/// # Examples
Expand Down

0 comments on commit 997e807

Please sign in to comment.