From 405b95b4bdfc2aebabe4ff82dcd2e120528bdc59 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Thu, 18 Jan 2024 02:43:44 -0500 Subject: [PATCH] Minor linting fixes --- lib/oxsdatatypes/README.md | 2 +- lib/oxsdatatypes/src/duration.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;