diff --git a/lib/oxsdatatypes/README.md b/lib/oxsdatatypes/README.md index c7ae8e55..1c3b2c39 100644 --- a/lib/oxsdatatypes/README.md +++ b/lib/oxsdatatypes/README.md @@ -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 { diff --git a/lib/oxsdatatypes/src/duration.rs b/lib/oxsdatatypes/src/duration.rs index d6790a8b..8d73cd4a 100644 --- a/lib/oxsdatatypes/src/duration.rs +++ b/lib/oxsdatatypes/src/duration.rs @@ -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;