mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-07 23:27:46 +00:00
Fix copy and paste error
This commit is contained in:
parent
4a48b297f3
commit
58faf871c3
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ pub enum Error {
|
||||||
Nul(#[from] std::ffi::NulError),
|
Nul(#[from] std::ffi::NulError),
|
||||||
|
|
||||||
#[error("ctrlc::Error {0:?}")]
|
#[error("ctrlc::Error {0:?}")]
|
||||||
Send(#[from] ctrlc::Error),
|
InterruptHandler(#[from] ctrlc::Error),
|
||||||
|
|
||||||
#[error("std::io::Error {0}")]
|
#[error("std::io::Error {0}")]
|
||||||
Io(#[from] std::io::Error),
|
Io(#[from] std::io::Error),
|
||||||
|
@ -25,7 +25,7 @@ pub enum Error {
|
||||||
Bind(#[from] smoltcp::socket::udp::BindError),
|
Bind(#[from] smoltcp::socket::udp::BindError),
|
||||||
|
|
||||||
#[error("smoltcp::socket::tcp::SendError {0:?}")]
|
#[error("smoltcp::socket::tcp::SendError {0:?}")]
|
||||||
SontrolHandler(#[from] smoltcp::socket::tcp::SendError),
|
Send(#[from] smoltcp::socket::tcp::SendError),
|
||||||
|
|
||||||
#[error("&str {0}")]
|
#[error("&str {0}")]
|
||||||
Str(String),
|
Str(String),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue