Skip to main content

shorten

Function shorten 

Source
pub(crate) fn shorten(text: &str) -> String
Expand description

Keeps both ends of a long tool output. Many tools print the decisive error last.