From 0b86386f4e515e72dd659cc5614bcd071f596d0c Mon Sep 17 00:00:00 2001 From: krisbitney Date: Sun, 21 Aug 2022 18:08:36 +0400 Subject: [PATCH] updated rs schema binding tests --- packages/test-cases/cases/bind/sanity/output/wasm-rs/env/mod.rs | 2 +- .../cases/bind/sanity/output/wasm-rs/env/serialization.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/mod.rs b/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/mod.rs index e6916ae5dc..2a79852d21 100644 --- a/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/mod.rs +++ b/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/mod.rs @@ -29,7 +29,7 @@ impl Env { Env { prop: String::new(), opt_prop: None, - opt_map: Map::>::new(), + opt_map: None, } } diff --git a/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/serialization.rs b/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/serialization.rs index 99c60d2f62..df2a91bc9c 100644 --- a/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/serialization.rs +++ b/packages/test-cases/cases/bind/sanity/output/wasm-rs/env/serialization.rs @@ -56,7 +56,7 @@ pub fn read_env(reader: &mut R) -> Result { let mut _prop: String = String::new(); let mut _prop_set = false; let mut _opt_prop: Option = None; - let mut _opt_map: Option>> = Map::>::new(); + let mut _opt_map: Option>> = None; while num_of_fields > 0 { num_of_fields -= 1;