We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a1bbe commit 0ae16c4Copy full SHA for 0ae16c4
src/data/mod.rs
@@ -174,11 +174,13 @@ macro_rules! cnst {
174
)
175
}
176
177
-cnst!(f32 , 0);
178
-cnst!(f64 , 2);
179
-cnst!(i32 , 5);
180
-cnst!(u32 , 6);
181
-cnst!(u8 , 7);
+cnst!(f32 , 0);
+cnst!(f64 , 2);
+cnst!(i32 , 5);
+cnst!(u32 , 6);
+cnst!(u8 , 7);
182
+cnst!(i16 , 10);
183
+cnst!(u16 , 11);
184
185
186
/// Create an Array with constant value
@@ -194,6 +196,8 @@ cnst!(u8 , 7);
194
196
/// - i32
195
197
/// - u32
198
/// - u8
199
+/// - i16
200
+/// - u16
201
///
202
/// # Parameters
203
0 commit comments