Skip to content

Commit 57b3cfd

Browse files
committed
Fix some line lengths
1 parent e387c88 commit 57b3cfd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libcore/cell.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,8 @@ impl<'b, T: ?Sized> Ref<'b, T> {
625625
/// ```
626626
#[unstable(feature = "cell_extras", reason = "recently added",
627627
issue = "27746")]
628-
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `Ref::map`: https://crates.io/crates/ref_filter_map")]
628+
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `Ref::map`: \
629+
https://crates.io/crates/ref_filter_map")]
629630
#[inline]
630631
pub fn filter_map<U: ?Sized, F>(orig: Ref<'b, T>, f: F) -> Option<Ref<'b, U>>
631632
where F: FnOnce(&T) -> Option<&U>
@@ -700,7 +701,8 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
700701
/// ```
701702
#[unstable(feature = "cell_extras", reason = "recently added",
702703
issue = "27746")]
703-
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `RefMut::map`: https://crates.io/crates/ref_filter_map")]
704+
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `RefMut::map`: \
705+
https://crates.io/crates/ref_filter_map")]
704706
#[inline]
705707
pub fn filter_map<U: ?Sized, F>(orig: RefMut<'b, T>, f: F) -> Option<RefMut<'b, U>>
706708
where F: FnOnce(&mut T) -> Option<&mut U>

0 commit comments

Comments
 (0)