pub trait StrExt: AsRef<str> {
// Provided method
fn strip_end_counted(&self, count: usize) -> &str { ... }
}
Available on crate feature
parse2
only.Expand description
Extension trait adding a method to str
pub trait StrExt: AsRef<str> {
// Provided method
fn strip_end_counted(&self, count: usize) -> &str { ... }
}
parse2
only.Extension trait adding a method to str