Skip to content

Commit 5391b09

Browse files
MilesCranmerodow
andauthored
Apply suggestions from code review
Co-authored-by: Oscar Dowson <[email protected]>
1 parent 3fccd67 commit 5391b09

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/DynamicQuantities.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module DynamicQuantities
22

3-
export Units, Const
3+
export Units, Constants
44
export Quantity, Dimensions, DimensionError, ustrip, dimension, valid
55
export ulength, umass, utime, ucurrent, utemperature, uluminosity, uamount
66
export uparse, @u_str
@@ -12,7 +12,7 @@ include("math.jl")
1212
include("units.jl") # < include("constants.jl")
1313

1414
import Requires: @init, @require
15-
import .Units: uparse, @u_str, Const
15+
import .Units: uparse, @u_str, Constants
1616

1717
if !isdefined(Base, :get_extension)
1818
@init @require Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" include("../ext/DynamicQuantitiesUnitfulExt.jl")

src/constants.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Const
1+
module Constants
22

33
import ..@u_str
44
import ..@add_prefixes

src/units.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ macro u_str(s)
146146
end
147147

148148
include("constants.jl")
149-
import .Const
149+
import .Constants
150150

151151
end

0 commit comments

Comments
 (0)