Skip to content

Commit 93ff335

Browse files
ureevesromanb
andauthored
Fully qualified std::result::Result in macros (#1587)
Co-authored-by: Roman Borschel <[email protected]>
1 parent 25dc7c0 commit 93ff335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/core-derive/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ fn build_struct(ast: &DeriveInput, data_struct: &DataStruct) -> TokenStream {
469469
#(#inject_listener_error_stmts);*
470470
}
471471

472-
fn inject_listener_closed(&mut self, id: #listener_id, reason: Result<(), &std::io::Error>) {
472+
fn inject_listener_closed(&mut self, id: #listener_id, reason: std::result::Result<(), &std::io::Error>) {
473473
#(#inject_listener_closed_stmts);*
474474
}
475475

0 commit comments

Comments
 (0)