File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl<T> [T] {
230
230
core_slice:: SliceExt :: first_mut ( self )
231
231
}
232
232
233
- /// Returns the first and all the rest of the elements of a slice.
233
+ /// Returns the first and all the rest of the elements of a slice, or `None` if it is empty .
234
234
///
235
235
/// # Examples
236
236
///
@@ -248,7 +248,7 @@ impl<T> [T] {
248
248
core_slice:: SliceExt :: split_first ( self )
249
249
}
250
250
251
- /// Returns the first and all the rest of the elements of a slice.
251
+ /// Returns the first and all the rest of the elements of a slice, or `None` if it is empty .
252
252
///
253
253
/// # Examples
254
254
///
@@ -268,7 +268,7 @@ impl<T> [T] {
268
268
core_slice:: SliceExt :: split_first_mut ( self )
269
269
}
270
270
271
- /// Returns the last and all the rest of the elements of a slice.
271
+ /// Returns the last and all the rest of the elements of a slice, or `None` if it is empty .
272
272
///
273
273
/// # Examples
274
274
///
@@ -287,7 +287,7 @@ impl<T> [T] {
287
287
288
288
}
289
289
290
- /// Returns the last and all the rest of the elements of a slice.
290
+ /// Returns the last and all the rest of the elements of a slice, or `None` if it is empty .
291
291
///
292
292
/// # Examples
293
293
///
You can’t perform that action at this time.
0 commit comments