(self, vm: &VirtualMachine)
| 1521 | } |
| 1522 | |
| 1523 | pub fn try_into_utf8(self, vm: &VirtualMachine) -> PyResult<PyRef<PyUtf8Str>> { |
| 1524 | self.ensure_valid_utf8(vm)?; |
| 1525 | Ok(unsafe { mem::transmute::<Self, PyRef<PyUtf8Str>>(self) }) |
| 1526 | } |
| 1527 | } |
| 1528 | |
| 1529 | struct CharLenStr<'a>(&'a str, usize); |
no test coverage detected