(&self, chars: OptionalOption<Self>)
| 614 | } |
| 615 | |
| 616 | pub fn lstrip(&self, chars: OptionalOption<Self>) -> &[u8] { |
| 617 | self.elements.py_strip( |
| 618 | chars, |
| 619 | |s, chars| s.trim_start_with(|c| chars.contains(&(c as u8))), |
| 620 | |s| s.trim_start(), |
| 621 | ) |
| 622 | } |
| 623 | |
| 624 | pub fn rstrip(&self, chars: OptionalOption<Self>) -> &[u8] { |
| 625 | self.elements.py_strip( |
no test coverage detected