1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-20 04:35:38 +02:00

various cleanups

This commit is contained in:
Nikolay Kim
2017-12-13 11:10:03 -08:00
parent 55204c829c
commit d4187f682b
14 changed files with 70 additions and 63 deletions

View File

@@ -20,7 +20,7 @@ pub trait FromParam: Sized {
///
/// If resource path contains variable patterns, `Params` stores this variables.
#[derive(Debug)]
pub struct Params<'a>(SmallVec<[(&'a str, &'a str); 4]>);
pub struct Params<'a>(SmallVec<[(&'a str, &'a str); 3]>);
impl<'a> Default for Params<'a> {
fn default() -> Params<'a> {