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

Method back_advance

crates/sre_engine/src/string.rs:69–73  ·  view source on GitHub ↗
(cursor: &mut StringCursor)

Source from the content-addressed store, hash-verified

67
68 #[inline]
69 fn back_advance(cursor: &mut StringCursor) -> u32 {
70 cursor.position -= 1;
71 unsafe { cursor.ptr = cursor.ptr.sub(1) };
72 unsafe { *cursor.ptr as u32 }
73 }
74
75 #[inline]
76 fn back_peek(cursor: &StringCursor) -> u32 {

Callers

nothing calls this directly

Calls 2

next_code_point_reverseFunction · 0.70
subMethod · 0.45

Tested by

no test coverage detected