Commit c39b2380 authored by Robert Czechowski's avatar Robert Czechowski Committed by Robert Czechowski
Browse files

Split string by char instead of &str to make clippy happy

parent 5bc670f1
......@@ -287,7 +287,7 @@ pub struct ContestStartConstraints {
fn check_contest_qualification<T: MedalConnection>(conn: &T, session: &SessionUser, contest: &Contest) -> Option<bool> {
let required_contests = contest.requires_contest.as_ref()?.split(",");
let required_contests = contest.requires_contest.as_ref()?.split(',');
for req_contest in required_contests {
if conn.has_participation_by_contest_file(, &contest.location, req_contest) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment