MCPcopy Index your code
hub / github.com/RustPython/RustPython / last

Method last

crates/wtf8/src/lib.rs:1373–1375  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

1371 }
1372
1373 fn last(mut self) -> Option<Self::Item> {
1374 self.next_back()
1375 }
1376
1377 fn count(self) -> usize {
1378 core_str_count::count_chars(self.as_wtf8())

Callers 15

find_unclosed_bracketFunction · 0.45
pop_keepMethod · 0.45
convert_openssl_errorFunction · 0.45
currentMethod · 0.45
getMethod · 0.45
build_verified_chainFunction · 0.45
offer_suggestionsFunction · 0.45
resolve_nameFunction · 0.45
getwindowsversionFunction · 0.45
write_object_depthFunction · 0.45
__setstate__Method · 0.45
py_newMethod · 0.45

Calls 1

next_backMethod · 0.45

Tested by

no test coverage detected