Skip to content

Commit cebfaf8

Browse files
connortsui20joboet
andauthored
Remove must_use message
Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
1 parent c16783b commit cebfaf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ impl<T: Copy> Bound<&T> {
751751
/// assert_eq!((1..12).start_bound().copied(), Included(1));
752752
/// ```
753753
#[unstable(feature = "bound_copied", issue = "145966")]
754-
#[must_use = "`self` will be dropped if the result is not used"]
754+
#[must_use]
755755
pub fn copied(self) -> Bound<T> {
756756
match self {
757757
Bound::Unbounded => Bound::Unbounded,

0 commit comments

Comments
 (0)