1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2025-08-10 05:13:17 -04:00

Some renamings

This commit is contained in:
mo8it 2024-04-07 23:37:40 +02:00
commit 93f8d1610d
3 changed files with 6 additions and 6 deletions

View file

@ -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.