Skip to content

Commit

Permalink
Fully qualified std::result::Result in macros (#1587)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
  • Loading branch information
ureeves and romanb authored May 25, 2020
1 parent 25dc7c0 commit 93ff335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/core-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);*
}

Expand Down

0 comments on commit 93ff335

Please sign in to comment.