mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 20:12:58 +01:00
use default type for RouterBuilder
This commit is contained in:
parent
04a3e59bd5
commit
82930de8e7
@ -126,7 +126,7 @@ impl ResourceMap {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct RouterBuilder<T, U> {
|
||||
pub struct RouterBuilder<T, U = ()> {
|
||||
rmap: ResourceMap,
|
||||
named: HashMap<String, ResourceDef>,
|
||||
resources: Vec<(T, Option<U>)>,
|
||||
|
Loading…
Reference in New Issue
Block a user