diff --git a/exercises/02_lifetimes_explained/exercise/src/lib.rs b/exercises/02_lifetimes_explained/exercise/src/lib.rs index 49efcc8..82d7103 100644 --- a/exercises/02_lifetimes_explained/exercise/src/lib.rs +++ b/exercises/02_lifetimes_explained/exercise/src/lib.rs @@ -15,9 +15,6 @@ pub fn identity(number: &i32) -> &i32 { number } -/// In this case, we know that if the option is `Some`, it will -/// always contain a reference to `number`. -/// /// Recall that this function returns a vector of slices of /// `text`, split by `delimiter`. /// diff --git a/exercises/02_lifetimes_explained/solutions/src/lib.rs b/exercises/02_lifetimes_explained/solutions/src/lib.rs index 22a1e91..1562b13 100644 --- a/exercises/02_lifetimes_explained/solutions/src/lib.rs +++ b/exercises/02_lifetimes_explained/solutions/src/lib.rs @@ -53,9 +53,6 @@ pub fn only_if_greater<'a, 'b>(number: &'a i32, greater_than: &'b i32) -> Option } } -/// In this case, we know that if the option is `Some`, it will -/// always contain a reference to `number`. -/// /// Recall that this function returns a vector of slices of /// `text`, split by `delimiter`. ///