summaryrefslogtreecommitdiff
path: root/src/exercise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exercise.rs')
-rw-r--r--src/exercise.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exercise.rs b/src/exercise.rs
index 508f477..ae47d5e 100644
--- a/src/exercise.rs
+++ b/src/exercise.rs
@@ -41,11 +41,11 @@ pub enum Mode {
}
#[derive(Deserialize)]
-pub struct ExerciseList {
+pub struct InfoFile {
pub exercises: Vec<Exercise>,
}
-impl ExerciseList {
+impl InfoFile {
pub fn parse() -> Result<Self> {
// Read a local `info.toml` if it exists.
// Mainly to let the tests work for now.