Skip to content

Commit 76f11f4

Browse files
committed
Fix API doc
1 parent 107b6a5 commit 76f11f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const DEFAULT_DIM_TYPE = Dimensions{DEFAULT_DIM_BASE_TYPE}
8585
Physical quantity with value `value` of type `T` and dimensions `dimensions` of type `D`.
8686
For example, the velocity of an object with mass 1 kg and velocity
8787
2 m/s is `Quantity(2, mass=1, length=1, time=-1)`.
88-
You should access these fields with `ustrip(q)`, and `dimensions(q)`.
88+
You should access these fields with `ustrip(q)`, and `dimension(q)`.
8989
You can access specific dimensions with `ulength(q)`, `umass(q)`, `utime(q)`,
9090
`ucurrent(q)`, `utemperature(q)`, `uluminosity(q)`, and `uamount(q)`.
9191

0 commit comments

Comments
 (0)