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

Function is_linebreak

crates/sre_engine/src/string.rs:370–372  ·  view source on GitHub ↗
(ch: u32)

Source from the content-addressed store, hash-verified

368}
369#[inline]
370pub(crate) const fn is_linebreak(ch: u32) -> bool {
371 ch == '\n' as u32
372}
373#[inline]
374pub fn lower_ascii(ch: u32) -> u32 {
375 u8::try_from(ch)

Callers 3

at_linebreakMethod · 0.85
atFunction · 0.85
categoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected