MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_whitespace

Method is_whitespace

atomic-core/src/diff/token/tokenizer.rs:206–208  ·  view source on GitHub ↗
(b: u8)

Source from the content-addressed store, hash-verified

204 /// Check if a byte is whitespace (but not newline).
205 #[inline]
206 fn is_whitespace(b: u8) -> bool {
207 b == b' ' || b == b'\t'
208 }
209
210 /// Check if a byte is a newline.
211 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected