mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 01:21:21 +00:00
Fully qualified std::result::Result in macros (#1587)
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
25dc7c08e3
commit
93ff335c96
@ -469,7 +469,7 @@ fn build_struct(ast: &DeriveInput, data_struct: &DataStruct) -> TokenStream {
|
||||
#(#inject_listener_error_stmts);*
|
||||
}
|
||||
|
||||
fn inject_listener_closed(&mut self, id: #listener_id, reason: Result<(), &std::io::Error>) {
|
||||
fn inject_listener_closed(&mut self, id: #listener_id, reason: std::result::Result<(), &std::io::Error>) {
|
||||
#(#inject_listener_closed_stmts);*
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user