mirror of https://github.com/fafhrd91/actix-web
fmt
This commit is contained in:
parent
329148465d
commit
56e6bcb6e2
|
@ -967,7 +967,10 @@ impl ResourceDef {
|
|||
_ => false,
|
||||
})
|
||||
.unwrap_or_else(|| {
|
||||
panic!(r#"pattern "{}" contains malformed dynamic segment"#, pattern)
|
||||
panic!(
|
||||
r#"pattern "{}" contains malformed dynamic segment"#,
|
||||
pattern
|
||||
)
|
||||
});
|
||||
|
||||
let (mut param, mut unprocessed) = pattern.split_at(close_idx + 1);
|
||||
|
|
Loading…
Reference in New Issue