length nit

sorry :)
This commit is contained in:
Rob Ede 2021-01-24 00:31:54 +00:00 committed by GitHub
parent 3a88ea3632
commit 7dd630f0ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ fn bytes_to_string(body: Bytes, encoding: &'static Encoding) -> Result<String, E
///
/// By default, the payload size limit is 256kB and there is no mime type condition.
///
/// To use this, add an instance of it to your app or service through one of the `.app_data()`
/// methods.
/// To use this, add an instance of it to your app or service through one of the
/// `.app_data()` methods.
#[derive(Clone)]
pub struct PayloadConfig {
limit: usize,