diff options
| author | mo8it <mo8it@proton.me> | 2024-04-07 23:57:54 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-07 23:57:54 +0200 |
| commit | 394ca402a8883581dc040546b4ca18b07d76a7f2 (patch) | |
| tree | bc2725f234fc73d740c0b5179a198589b1cd27a5 /src/exercise.rs | |
| parent | db25cc91576a05b02edd3754df85eb5668cec83f (diff) | |
Remove the info_toml_content field
Diffstat (limited to 'src/exercise.rs')
| -rw-r--r-- | src/exercise.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exercise.rs b/src/exercise.rs index ae47d5e..c9fb331 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -52,7 +52,7 @@ impl InfoFile { if let Ok(file_content) = fs::read_to_string("info.toml") { toml_edit::de::from_str(&file_content) } else { - toml_edit::de::from_str(EMBEDDED_FILES.info_toml_content) + toml_edit::de::from_str(include_str!("../info.toml")) } .context("Failed to parse `info.toml`") } |
