File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 18
18
//! a screen-space position by a world-space vector and this can be expressed using
19
19
//! the generic Unit parameter.
20
20
//!
21
- //! This unit system is not mandatory and all * structures have an alias
21
+ //! This unit system is not mandatory and all structures have an alias
22
22
//! with the default unit: `UnknownUnit`.
23
- //! for example ```Point2D<T>``` is equivalent to ```Point2D<T, UnknownUnit>```.
23
+ //! for example ```default:: Point2D<T>``` is equivalent to ```Point2D<T, UnknownUnit>```.
24
24
//! Client code typically creates a set of aliases for each type and doesn't need
25
25
//! to deal with the specifics of typed units further. For example:
26
26
//!
@@ -98,6 +98,8 @@ mod nonempty;
98
98
pub struct UnknownUnit ;
99
99
100
100
pub mod default {
101
+ //! A set of aliases for all types, tagged with the default unknown unit.
102
+
101
103
use super :: UnknownUnit ;
102
104
pub type Point2D < T > = super :: Point2D < T , UnknownUnit > ;
103
105
pub type Point3D < T > = super :: Point3D < T , UnknownUnit > ;
You can’t perform that action at this time.
0 commit comments