Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
term: Deny `print_stdout`
Lorenz Leutgeb committed 1 day ago
commit 378365aa4200f97fec88b74c0b6edf5bc74f08ce
parent cc70d7d
1 file changed +5 -0
modified crates/radicle-term/src/lib.rs
@@ -1,3 +1,8 @@
+
// Prevent use of `println!` and `print!` which panic on broken pipes.
+
// Use `crate::io::println` or `term::io::print` instead.
+
// See: https://github.com/rust-lang/rust/issues/62569
+
#![deny(clippy::print_stdout)]
+

pub mod ansi;
pub mod cell;
pub mod colors;