Add missing lifetime specifier

This commit is contained in:
Jeremy Stucki 2019-06-24 20:10:05 +02:00 committed by Jeremy Stucki
parent b17cec509e
commit edcde7025c
No known key found for this signature in database
GPG Key ID: 8F548A5A2ED13F58

View File

@ -498,7 +498,7 @@ macro_rules! impls{
/// # end: *const T,
/// # phantom: PhantomData<&'a T>,
/// # }
/// fn borrow_vec<T>(vec: &Vec<T>) -> Slice<T> {
/// fn borrow_vec<T>(vec: &Vec<T>) -> Slice<'_, T> {
/// let ptr = vec.as_ptr();
/// Slice {
/// start: ptr,