Skip to content

Commit

Permalink
libproc_macro - Don't use dyn for 1.19 reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Dec 7, 2024
1 parent d0fdb6d commit 142a932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libproc_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub fn main(macros: &[MacroDesc])
let mut fp_raw;
let stdin = if let Some(p) = input_path {
fp_raw = ::std::fs::File::open(p).unwrap();
&mut fp_raw as &mut dyn ::std::io::Read
&mut fp_raw as &mut /*dyn */::std::io::Read
}
else {
stdin_raw = ::std::io::stdin().lock();
Expand Down

0 comments on commit 142a932

Please sign in to comment.