Fix a word in the 'Data::peek' docs: 'max' -> 'min'.

This commit is contained in:
timando 2021-06-10 13:48:55 +10:00 committed by Jeb Rosen
parent f54d913bd3
commit af1aa079d6
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ impl<'r> Data<'r> {
/// `self`.
///
/// The peek buffer contains at most 512 bytes of the body of the request.
/// The actual size of the returned buffer is the `max` of the request's
/// The actual size of the returned buffer is the `min` of the request's
/// body, `num` and `512`. The [`peek_complete`](#method.peek_complete)
/// method can be used to determine if this buffer contains _all_ of the
/// data in the body of the request.