We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1c6f8 commit 3e75477Copy full SHA for 3e75477
build.rs
@@ -111,7 +111,7 @@ mod gen {
111
mcu.device.name.to_lowercase()
112
}
113
114
- pub fn mcu_module_doc(mcu: &Mcu, w: &mut Write)
+ pub fn mcu_module_doc(mcu: &Mcu, w: &mut dyn Write)
115
-> Result<(), io::Error> {
116
writeln!(w, "//! The AVR {} microcontroller", mcu.device.name)?;
117
writeln!(w, "//!")?;
@@ -133,7 +133,7 @@ mod gen {
133
Ok(())
134
135
136
- pub fn mcu_module_code(mcu: &Mcu, w: &mut Write)
+ pub fn mcu_module_code(mcu: &Mcu, w: &mut dyn Write)
137
138
let registers = ordered_registers(mcu);
139
let register_bitfields = documentable_bitfields(®isters);
0 commit comments