mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 07:46:29 +00:00
Add comment about keeping dependencies
This commit is contained in:
parent
87db9129bc
commit
86d716cf8a
1 changed files with 1 additions and 0 deletions
|
@ -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`");
|
||||||
|
|
Loading…
Reference in a new issue