mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Fix warnings and errors from beta Rust (#2904)
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
//!
|
||||
//! [hyper-util]: https://crates.io/crates/hyper-util
|
||||
|
||||
#![allow(unreachable_patterns)]
|
||||
|
||||
use std::convert::Infallible;
|
||||
use std::net::SocketAddr;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
//! ```not_rust
|
||||
//! cargo run -p example-unix-domain-socket
|
||||
//! ```
|
||||
#![allow(unreachable_patterns)]
|
||||
|
||||
#[cfg(unix)]
|
||||
#[tokio::main]
|
||||
|
||||
Reference in New Issue
Block a user