gaucho-labs / leptos-hotkeys

a declarative way of using keyboard shortcuts + callbacks in leptos applications
https://leptos-hotkeys.vercel.app
MIT License
43 stars 8 forks source link

Fix `tower_http` clippy warning #125

Closed mondeja closed 3 weeks ago

mondeja commented 3 weeks ago

Fixes the unreachable pattern clippy warning at https://github.com/gaucho-labs/leptos-hotkeys/pull/124/files#file-examples-ssr-demo-src-fileserv-rs-L35.

For details see https://github.com/leptos-rs/start-axum/pull/47. Also implemented the change included in https://github.com/leptos-rs/start-axum/pull/41

mondeja commented 3 weeks ago

Nope, it's just for the example.