From d1605dc67ea97bcae0cdcc4f3455879e64ea896c Mon Sep 17 00:00:00 2001 From: Elias Carvalho Date: Thu, 5 Dec 2024 13:29:12 -0300 Subject: [PATCH] Fix typo --- src/conversion.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conversion.jl b/src/conversion.jl index 50729762..e968e89d 100644 --- a/src/conversion.jl +++ b/src/conversion.jl @@ -47,8 +47,8 @@ Returns 1. (Avoids effort when unnecessary.) convfact(s::Units{S}, t::Units{S}) where {S} = 1 """ - convfact(T::Type, s::Units{S}, t::Units{S}) -Returns a appropriate conversion factor from unit `t` to unit `s` for number type `T`. + convfact(T::Type, s::Units, t::Units) +Returns the appropriate conversion factor from unit `t` to unit `s` for the number type `T`. """ function convfact(::Type{T}, s::Units, t::Units) where {T<:Number} cf = convfact(s, t)