Skip to content

Commit

Permalink
Fix some line lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Mar 7, 2016
1 parent e387c88 commit 57b3cfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libcore/cell.rs
Expand Up @@ -625,7 +625,8 @@ impl<'b, T: ?Sized> Ref<'b, T> {
/// ```
#[unstable(feature = "cell_extras", reason = "recently added",
issue = "27746")]
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `Ref::map`: https://crates.io/crates/ref_filter_map")]
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `Ref::map`: \
https://crates.io/crates/ref_filter_map")]
#[inline]
pub fn filter_map<U: ?Sized, F>(orig: Ref<'b, T>, f: F) -> Option<Ref<'b, U>>
where F: FnOnce(&T) -> Option<&U>
Expand Down Expand Up @@ -700,7 +701,8 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
/// ```
#[unstable(feature = "cell_extras", reason = "recently added",
issue = "27746")]
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `RefMut::map`: https://crates.io/crates/ref_filter_map")]
#[rustc_deprecated(since = "1.8.0", reason = "can be built on `RefMut::map`: \
https://crates.io/crates/ref_filter_map")]
#[inline]
pub fn filter_map<U: ?Sized, F>(orig: RefMut<'b, T>, f: F) -> Option<RefMut<'b, U>>
where F: FnOnce(&mut T) -> Option<&mut U>
Expand Down

0 comments on commit 57b3cfd

Please sign in to comment.