Skip to content

Commit fa4e7ec

Browse files
author
Chris Pick
committed
Fix formatting for distinct integration tests
Run rustfmt to fix formatting.
1 parent cab6412 commit fa4e7ec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

diesel_tests/tests/distinct.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ fn distinct_on() {
2929
)
3030
.unwrap();
3131

32-
let source = users.select((name, hair_color)).order(name).distinct_on(name);
32+
let source = users
33+
.select((name, hair_color))
34+
.order(name)
35+
.distinct_on(name);
3336
let expected_data = vec![
3437
("Sean".to_string(), Some("black".to_string())),
3538
("Tess".to_string(), None),

0 commit comments

Comments
 (0)