1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 17:46:38 +02:00

update to router 0.5.0 beta (#2339)

This commit is contained in:
Rob Ede
2021-08-06 22:42:31 +01:00
committed by GitHub
parent 293c52c3ef
commit f6e69919ed
24 changed files with 4063 additions and 57 deletions

View File

@@ -334,7 +334,7 @@ where
U: AsRef<str>,
{
let mut rdef = ResourceDef::new(url.as_ref());
*rdef.name_mut() = name.as_ref().to_string();
rdef.set_name(name.as_ref());
self.external.push(rdef);
self
}