mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
Remove unneeded macro usage (#2995)
Co-authored-by: Benjamin Sparks <[email protected]>
This commit is contained in:
co-authored by
Benjamin Sparks
parent
185804398f
commit
b30cdcfbea
@@ -11,8 +11,6 @@
|
||||
//!
|
||||
//! [hyper-util]: https://crates.io/crates/hyper-util
|
||||
|
||||
#![allow(unreachable_patterns)]
|
||||
|
||||
use std::convert::Infallible;
|
||||
use std::net::SocketAddr;
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
//! ```not_rust
|
||||
//! cargo run -p example-unix-domain-socket
|
||||
//! ```
|
||||
#![allow(unreachable_patterns)]
|
||||
|
||||
#[cfg(unix)]
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
||||
Reference in New Issue
Block a user