Skip to content

Commit 0ae16c4

Browse files
committed
ConsGenerator trait impl for i16 & u16 data types
Fixes #46
1 parent 06a1bbe commit 0ae16c4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/data/mod.rs

+9-5
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,13 @@ macro_rules! cnst {
174174
)
175175
}
176176

177-
cnst!(f32 , 0);
178-
cnst!(f64 , 2);
179-
cnst!(i32 , 5);
180-
cnst!(u32 , 6);
181-
cnst!(u8 , 7);
177+
cnst!(f32 , 0);
178+
cnst!(f64 , 2);
179+
cnst!(i32 , 5);
180+
cnst!(u32 , 6);
181+
cnst!(u8 , 7);
182+
cnst!(i16 , 10);
183+
cnst!(u16 , 11);
182184

183185

184186
/// Create an Array with constant value
@@ -194,6 +196,8 @@ cnst!(u8 , 7);
194196
/// - i32
195197
/// - u32
196198
/// - u8
199+
/// - i16
200+
/// - u16
197201
///
198202
/// # Parameters
199203
///

0 commit comments

Comments
 (0)