1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-01 00:45:17 +02:00

Some renamings

This commit is contained in:
mo8it
2024-04-07 23:37:40 +02:00
parent 99c9ab467b
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.