Skip to content

Commit

Permalink
Fix failing build
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
sgrif committed Sep 5, 2017
1 parent 8b93265 commit 1f3d7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diesel_tests/tests/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn selecting_expression_with_bind_param() {

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

assert_eq!(expected_data, actual_data);
}
Expand Down

0 comments on commit 1f3d7b1

Please sign in to comment.