diff options
| author | Fuwn <[email protected]> | 2023-05-05 01:33:55 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-05 01:33:55 +0000 |
| commit | d66da17c17239408f2ddbc2794621e2d947056a3 (patch) | |
| tree | e448da50c46c429f6ca672aa070577766fffc9bc /rossweisse/src/implementations | |
| parent | docs(rossweisse): revert to implementation (diff) | |
| download | windmark-d66da17c17239408f2ddbc2794621e2d947056a3.tar.xz windmark-d66da17c17239408f2ddbc2794621e2d947056a3.zip | |
feat(windmark): prelude feature flag
Diffstat (limited to 'rossweisse/src/implementations')
| -rw-r--r-- | rossweisse/src/implementations/router/fields.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rossweisse/src/implementations/router/fields.rs b/rossweisse/src/implementations/router/fields.rs index a2d0bdf..6c3941a 100644 --- a/rossweisse/src/implementations/router/fields.rs +++ b/rossweisse/src/implementations/router/fields.rs @@ -58,7 +58,7 @@ pub fn fields(arguments: TokenStream, item: syn::ItemStruct) -> TokenStream { fn _new() -> Self { Self { #(#new_method_fields)* - router: ::windmark::Router::new(), + router: ::windmark::router::Router::new(), } } @@ -66,7 +66,7 @@ pub fn fields(arguments: TokenStream, item: syn::ItemStruct) -> TokenStream { self.router.run().await } - pub fn router(&mut self) -> &mut ::windmark::Router { + pub fn router(&mut self) -> &mut ::windmark::router::Router { &mut self.router } }; @@ -74,7 +74,7 @@ pub fn fields(arguments: TokenStream, item: syn::ItemStruct) -> TokenStream { let output = quote! { struct #router_identifier { #output_fields - router: ::windmark::Router, + router: ::windmark::router::Router, } impl #router_identifier { |