mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-04 09:13:30 +02:00
Add comment about keeping dependencies
This commit is contained in:
@@ -7,6 +7,7 @@ use crate::{info_file::InfoFile, init::cargo_toml};
|
|||||||
pub fn check(info_file: InfoFile) -> Result<()> {
|
pub fn check(info_file: InfoFile) -> Result<()> {
|
||||||
// TODO: Add checks
|
// TODO: Add checks
|
||||||
|
|
||||||
|
// TODO: Keep dependencies!
|
||||||
fs::write("Cargo.toml", cargo_toml(&info_file.exercises))
|
fs::write("Cargo.toml", cargo_toml(&info_file.exercises))
|
||||||
.context("Failed to update the file `Cargo.toml`")?;
|
.context("Failed to update the file `Cargo.toml`")?;
|
||||||
println!("Updated `Cargo.toml`");
|
println!("Updated `Cargo.toml`");
|
||||||
|
|||||||
Reference in New Issue
Block a user