xsd:integer: checked_div is integer division and not regular division according to XPath

pull/553/head
Tpt 1 year ago committed by Thomas Tanon
parent 40b10cdabc
commit 81895cb6bc
  1. 2
      lib/oxsdatatypes/src/integer.rs

@ -50,7 +50,7 @@ impl Integer {
})
}
/// [op:numeric-divide](https://www.w3.org/TR/xpath-functions-31/#func-numeric-divide)
/// [op:numeric-integer-divide](https://www.w3.org/TR/xpath-functions-31/#func-numeric-integer-divide)
#[inline]
pub fn checked_div(self, rhs: impl Into<Self>) -> Option<Self> {
Some(Self {

Loading…
Cancel
Save