You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found it useful in the past if the UART object implements core::fmt::Write. This would mean you can write:
let serial = Serial(...);writeln!(serial, "Hello, {}!", name).unwrap();
I tried doing my own impl in my application, but as I've defined neither the core::fmt::Write trait, nor the Serial object, the compiler won't let me (even with the changes that went into 1.41).
The text was updated successfully, but these errors were encountered:
I've found it useful in the past if the UART object implements
core::fmt::Write
. This would mean you can write:I tried doing my own impl in my application, but as I've defined neither the
core::fmt::Write
trait, nor theSerial
object, the compiler won't let me (even with the changes that went into 1.41).The text was updated successfully, but these errors were encountered: