diff options
| author | mo8it <mo8it@proton.me> | 2024-04-07 23:37:40 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-07 23:37:40 +0200 |
| commit | 93f8d1610d293e57fd5002a9755c1f91a31ba891 (patch) | |
| tree | c0905fef57e8e5279c23422000b0bc2f7ad09166 /src/exercise.rs | |
| parent | 99c9ab467b3e57f9dca080a6fe9c1dbd991a3fdb (diff) | |
Some renamings
Diffstat (limited to 'src/exercise.rs')
| -rw-r--r-- | src/exercise.rs | 4 |
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. |
