Skip to content

Commit

Permalink
fix scaladoc for coefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
erikerlandson committed Jul 31, 2022
1 parent f9c59c7 commit 0ca0b7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/scala/coulomb/quantity.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ inline def showUnitFull[U]: String = ${ coulomb.infra.show.showFull[U] }

/**
* Obtain the coefficient of conversion from one unit expression to another
* @tparam UF the input unit type
* @tparam UT the output unit type
* @tparam UF the input unit expression
* @tparam UT the output unit expression
* @tparam V the value type to return
* @return the coefficient of conversion from UF to UT
* If U1 and U2 are not convertible, causes a compilation failure.
* If UF and UT are not convertible, causes a compilation failure.
*/
inline def coefficient[V, UF, UT](using vc: ValueConversion[Rational, V]): V =
import coulomb.conversion.coefficients.coefficientRational
Expand Down

0 comments on commit 0ca0b7a

Please sign in to comment.