Skip to content

Commit f2b2e24

Browse files
sgrifweiznich
authored andcommitted
Fix failing build
[This commit](serde-rs/json@7fbf18e) in `serde_json` added an impl of `PartialEq` for `bool`, meaning that type inference can no longer assume that we wanted a `bool` here.
1 parent 7626c86 commit f2b2e24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diesel_tests/tests/select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn selecting_expression_with_bind_param() {
9696

9797
let source = users.select(name.eq("Sean".to_string()));
9898
let expected_data = vec![true, false];
99-
let actual_data: Vec<_> = source.load(&connection).unwrap();
99+
let actual_data = source.load::<bool>(&connection).unwrap();
100100

101101
assert_eq!(expected_data, actual_data);
102102
}

0 commit comments

Comments
 (0)