Fix clippy lints (Rust 1.92) (#5102)
* Fix clippy lints (Rust 1.92) * cargo fmt Signed-off-by: Nico Burns <nico@nicoburns.com> --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
1 parent
96231defd1
commit
9484cda546
2 files changed
+4
-2
No files matched your search
@@ -38,6 +38,8 @@ impl NetProvider<Resource> for DioxusNativeNetProvider {
|
||||
handler: blitz_traits::net::BoxedHandler<Resource>,
|
||||
) {
|
||||
if request.url.scheme() == "dioxus" {
|
||||
#[allow(clippy::single_match)]
|
||||
// cfg'd code has multiple branches in some configurations
|
||||
match dioxus_asset_resolver::native::serve_asset(request.url.path()) {
|
||||
Ok(res) => {
|
||||
#[cfg(feature = "tracing")]
|
||||
|
||||
Reference in new issue
Block a user