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

Method is_significant

atomic-core/src/diff/token/kind.rs:96–98  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

94 /// ```
95 #[inline]
96 pub fn is_significant(&self) -> bool {
97 !matches!(self, TokenKind::Whitespace | TokenKind::Newline)
98 }
99
100 /// Check if this is a content-bearing token (not structural).
101 ///

Callers 2

word_diff_with_configFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected