MCPcopy Create free account
hub / github.com/echQoQ/RustSL / print_error

Function print_error

src/utils/debug.rs:5–7  ·  view source on GitHub ↗
(_prefix: &str, _error: &dyn std::fmt::Display)

Source from the content-addressed store, hash-verified

3
4#[cfg(feature = "debug")]
5pub fn print_error(_prefix: &str, _error: &dyn std::fmt::Display) {
6 println!("{} {}", _prefix.red(), _error);
7}
8
9#[cfg(feature = "debug")]
10pub fn print_message(msg: &str) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected