Skip to content

Commit fe4524f

Browse files
author
misty-waters
committed
Apply rustfmt formatting
1 parent 9d6561b commit fe4524f

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

backend/tests/profile_tests.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,14 @@ mod github_handle_tests {
5151
) -> Result<Option<Profile>, Box<dyn std::error::Error + Send + Sync>> {
5252
let lower = github_login.to_lowercase();
5353
let list = self.profiles.lock().unwrap();
54-
Ok(list.iter().find(|&p| {
55-
p.github_login
56-
.as_ref()
57-
.is_some_and(|h| h.to_lowercase() == lower)
58-
}).cloned())
54+
Ok(list
55+
.iter()
56+
.find(|&p| {
57+
p.github_login
58+
.as_ref()
59+
.is_some_and(|h| h.to_lowercase() == lower)
60+
})
61+
.cloned())
5962
}
6063
}
6164

0 commit comments

Comments
 (0)