Minor linting fixes

pull/739/head
Yuri Astrakhan 11 months ago committed by Thomas Tanon
parent 5f603bc4fe
commit 405b95b4bd
  1. 2
      lib/oxsdatatypes/README.md
  2. 2
      lib/oxsdatatypes/src/duration.rs

@ -38,7 +38,7 @@ The `DateTime::now()` function needs special OS support.
Currently:
- If the `custom-now` feature is enabled, a function computing `now` must be set:
```rust
use oxsdatatypes::Duration;
use oxsdatatypes::Duration;
#[no_mangle]
fn custom_ox_now() -> Duration {

@ -973,7 +973,7 @@ impl fmt::Display for DurationOverflowError {
impl Error for DurationOverflowError {}
/// The year-month and the day-time components of a [`Duration\] have an opposite sign.
/// The year-month and the day-time components of a [`Duration`] have an opposite sign.
#[derive(Debug, Clone, Copy)]
pub struct OppositeSignInDurationComponentsError;

Loading…
Cancel
Save