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

pull/547/head
Tpt 2 years ago
parent 7c0563cb1b
commit df19638eff
  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