@@ -2308,9 +2308,10 @@ impl<T> [T] {
2308
2308
/// maintained.
2309
2309
///
2310
2310
/// This method splits the slice into three distinct slices: prefix, correctly aligned middle
2311
- /// slice of a new type, and the suffix slice. The method does a best effort to make the
2312
- /// middle slice the greatest length possible for a given type and input slice, but only
2313
- /// your algorithm's performance should depend on that, not its correctness.
2311
+ /// slice of a new type, and the suffix slice. The method may make the middle slice the greatest
2312
+ /// length possible for a given type and input slice, but only your algorithm's performance
2313
+ /// should depend on that, not its correctness. It is permissible for all of the input data to
2314
+ /// be returned as the prefix or suffix slice.
2314
2315
///
2315
2316
/// This method has no purpose when either input element `T` or output element `U` are
2316
2317
/// zero-sized and will return the original slice without splitting anything.
@@ -2361,9 +2362,10 @@ impl<T> [T] {
2361
2362
/// maintained.
2362
2363
///
2363
2364
/// This method splits the slice into three distinct slices: prefix, correctly aligned middle
2364
- /// slice of a new type, and the suffix slice. The method does a best effort to make the
2365
- /// middle slice the greatest length possible for a given type and input slice, but only
2366
- /// your algorithm's performance should depend on that, not its correctness.
2365
+ /// slice of a new type, and the suffix slice. The method may make the middle slice the greatest
2366
+ /// length possible for a given type and input slice, but only your algorithm's performance
2367
+ /// should depend on that, not its correctness. It is permissible for all of the input data to
2368
+ /// be returned as the prefix or suffix slice.
2367
2369
///
2368
2370
/// This method has no purpose when either input element `T` or output element `U` are
2369
2371
/// zero-sized and will return the original slice without splitting anything.
0 commit comments