1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-27 00:41:21 +02:00

Fix missing info.toml in the macros crate

This commit is contained in:
mo8it
2024-04-25 19:54:03 +02:00
parent a4e623ea94
commit 8d45cdb09d
5 changed files with 9 additions and 6 deletions

View File

@ -15,7 +15,7 @@ struct InfoFile {
#[proc_macro]
pub fn include_files(_: TokenStream) -> TokenStream {
let exercises = toml_edit::de::from_str::<InfoFile>(include_str!("../../info.toml"))
let exercises = toml_edit::de::from_str::<InfoFile>(include_str!("../info.toml"))
.expect("Failed to parse `info.toml`")
.exercises;