mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 02:03:29 +00:00
Allow processing for hints and messages in the info file
This commit is contained in:
+1
-1
@@ -383,7 +383,7 @@ pub fn check(require_solutions: bool) -> Result<()> {
|
||||
check_cargo_toml(&info_file.exercises, "Cargo.toml", b"")?;
|
||||
}
|
||||
|
||||
// Leaking is fine since they are used until the end of the program.
|
||||
// LEAKING: Used until the end of the program.
|
||||
let cmd_runner = Box::leak(Box::new(CmdRunner::build()?));
|
||||
let info_file = Box::leak(Box::new(info_file));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user