Skip to content

Commit

Permalink
updated rs schema binding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krisbitney committed Aug 21, 2022
1 parent 8689d5c commit 0b86386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl Env {
Env {
prop: String::new(),
opt_prop: None,
opt_map: Map::<String, Option<i32>>::new(),
opt_map: None,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub fn read_env<R: Read>(reader: &mut R) -> Result<Env, DecodeError> {
let mut _prop: String = String::new();
let mut _prop_set = false;
let mut _opt_prop: Option<String> = None;
let mut _opt_map: Option<Map<String, Option<i32>>> = Map::<String, Option<i32>>::new();
let mut _opt_map: Option<Map<String, Option<i32>>> = None;

while num_of_fields > 0 {
num_of_fields -= 1;
Expand Down

0 comments on commit 0b86386

Please sign in to comment.