Skip to content

Commit

Permalink
Add missing lifetime specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystucki committed Jul 3, 2019
1 parent b17cec5 commit edcde70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit edcde70

Please sign in to comment.