Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit ed4055925df801c22f1b6f9fb95f5a0b3ba00dd3
parent d14c3393a0c3fec4f8c2f83e68f9abc0975f56d8
Author: jeb <jeb@jebrosen.com>
Date:   Sun, 18 Nov 2018 19:38:30 -0800

Use 'dyn' in codegen to silence 'bare_trait_objects' lint.

Diffstat:
Mcore/codegen/src/bang/uri.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/codegen/src/bang/uri.rs b/core/codegen/src/bang/uri.rs @@ -119,7 +119,7 @@ fn explode<'a, I>(route_str: &str, items: I) -> TokenStream2 // generating: arg tokens for format string fmt_exprs.push(quote_spanned! { span => - &#ident as &rocket::http::uri::UriDisplay + &#ident as &dyn rocket::http::uri::UriDisplay }); }