[Avg. reading time: 1 minute]
Pretty Please - Print
// Print fn main() { let doesnt_print = (); println!("This will not print: {}", doesnt_print); // ⚠️ }
Pretty Print
// Pretty Print fn main() { let doesnt_print = (); println!("This will print: {:#?}", doesnt_print); // ⚠️ }
What is the output of this?
// Print Space fn main() { let doesnt_print = ' '; println!("This will not print: {}", doesnt_print); // ⚠️ }
// Pretty Print Space fn main() { let doesnt_print = ' '; println!("This will print: {:#?}", doesnt_print); // ⚠️ } ````<span id='footer-class'>Ver 2.0.0</span> <footer id="last-change">Last change: 2026-01-19</footer>````