Commit 146cefa4 authored by Robert Czechowski's avatar Robert Czechowski

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

parent 71a536a0
Pipeline #911 passed with stage
in 4 minutes and 7 seconds
......@@ -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) {
Markdown is supported
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