Fix warnings for cloning references in generated code (#1676)

This commit is contained in:
Alexander Jackson
2023-01-05 11:50:02 +01:00
committed by GitHub
parent 2d8242b2c5
commit b6c282a2b7
2 changed files with 16 additions and 2 deletions
@@ -0,0 +1,10 @@
#![deny(noop_method_call)]
use axum_macros::FromRef;
#[derive(FromRef)]
struct State {
inner: &'static str,
}
fn main() {}