Fix wasm tests

This commit is contained in:
Caleb Zulawski
2021-02-13 11:40:10 -05:00
parent 8d5702e437
commit 976fafcf4f
7 changed files with 100 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ pub struct UniformArrayStrategy<S, T> {
}
impl<S, T> UniformArrayStrategy<S, T> {
pub fn new(strategy: S) -> Self {
pub const fn new(strategy: S) -> Self {
Self {
strategy,
_marker: PhantomData,