| ... | ... | @@ -3831,6 +3831,7 @@ test rotate { |
| 3831 | 3831 | |
| 3832 | 3832 | /// Replace needle with replacement as many times as possible, writing to an output buffer which is assumed to be of |
| 3833 | 3833 | /// appropriate size. Use replacementSize to calculate an appropriate buffer size. |
| 3834 | /// The `input` and `output` slices must not overlap. |
| 3834 | 3835 | /// The needle must not be empty. |
| 3835 | 3836 | /// Returns the number of replacements made. |
| 3836 | 3837 | pub fn replace(comptime T: type, input: []const T, needle: []const T, replacement: []const T, output: []T) usize { |