MCPcopy Create free account
hub / github.com/davidblewett/rure-python / increment

Method increment

regex/regex-syntax/src/hir/interval.rs:466–466  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

464 fn max_value() -> Self { u8::MAX }
465 fn as_u32(self) -> u32 { self as u32 }
466 fn increment(self) -> Self { self.checked_add(1).unwrap() }
467 fn decrement(self) -> Self { self.checked_sub(1).unwrap() }
468}
469

Callers 2

negateMethod · 0.80
differenceMethod · 0.80

Calls 1

unwrapMethod · 0.80

Tested by

no test coverage detected