Skip to main content

clip_reason

Function clip_reason 

Source
pub fn clip_reason(reason: &str) -> String
Expand description

reason cut to what RemoteOp::check_shape takes: at most MAX_REASON_LEN bytes, on a character boundary.