Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
54591e7f
Commit
54591e7f
authored
Mar 09, 2021
by
Robert Czechowski
Browse files
Make clippy happy
parent
26db423c
Pipeline
#1145
passed with stages
in 23 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contestreader_yaml.rs
View file @
54591e7f
...
...
@@ -45,7 +45,7 @@ fn parse_yaml(content: &str, filename: &str, directory: &str) -> Option<Contest>
let
config
:
ContestYaml
=
match
serde_yaml
::
from_str
(
&
content
)
{
Ok
(
contest
)
=>
contest
,
Err
(
e
)
=>
{
eprintln!
(
""
);
eprintln!
();
eprintln!
(
"{}"
,
e
);
eprintln!
(
"Error loading contest YAML: {}{}"
,
directory
,
filename
);
panic!
(
"Loading contest file"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment