From 5d63f211ef62204293362dff7c60665797ba6b52 Mon Sep 17 00:00:00 2001 From: MicheleCeresoli Date: Thu, 1 Aug 2024 09:45:16 +0200 Subject: [PATCH] Updated docstring --- src/duration.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duration.jl b/src/duration.jl index 8b289a2..1267844 100644 --- a/src/duration.jl +++ b/src/duration.jl @@ -7,7 +7,7 @@ fractional part. ### Fields - `seconds`: The integer number of seconds. -- `fraction`: The fractional part of the duration, where `T` is a subtype of `Real`. +- `fraction`: The fractional part of the duration, where `T` is a subtype of `Number`. """ struct Duration{T} <: Number seconds::Int