avr-rust / book.avr-rust.com

The AVR-Rust guidebook
https://book.avr-rust.com/
Other
75 stars 19 forks source link

Copying shell commands wraps them in Rust code #36

Closed Prof-Bloodstone closed 2 years ago

Prof-Bloodstone commented 3 years ago

When copying shell commands, like for example here: https://book.avr-rust.com/003-building-a-crate-for-avr.html#compiling-a-crate I'd expect to have this line in my clipboard:

cargo build -Z build-std=core --target avr-unknown-gnu-atmega328 --release

Instead, I get:


#![allow(unused)]
fn main() {
cargo build -Z build-std=core --target avr-unknown-gnu-atmega328 --release
}
stappersg commented 2 years ago

Fixed in commit 2a89941, @Prof-Bloodstone thanks for reporting.