| ... | ... | @@ -287,9 +287,9 @@ pub const LimitedAllocError = Allocator.Error || ShortError || error{StreamTooLo |
| 287 | 287 | /// Transfers all bytes from the current position to the end of the stream, up |
| 288 | 288 | /// to `limit`, returning them as a caller-owned allocated slice. |
| 289 | 289 | /// |
| 290 | | /// If `limit` would be exceeded, `error.StreamTooLong` is returned instead. In |
| 291 | | /// such case, the next byte that would be read will be the first one to exceed |
| 292 | | /// `limit`, and all preceeding bytes have been discarded. |
| 290 | /// If `limit` is reached or exceeded, `error.StreamTooLong` is returned |
| 291 | /// instead. In such case, the next byte that would be read will be the first |
| 292 | /// one to exceed `limit`, and all preceeding bytes have been discarded. |
| 293 | 293 | /// |
| 294 | 294 | /// See also: |
| 295 | 295 | /// * `appendRemaining` |