mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-08-08 22:36:55 +02:00
Remove todo
This commit is contained in:
@@ -33,7 +33,6 @@ impl StateFile {
|
||||
}
|
||||
|
||||
fn write(&self) -> Result<()> {
|
||||
// TODO: Capacity
|
||||
let mut buf = Vec::with_capacity(1024);
|
||||
serde_json::ser::to_writer(&mut buf, self).context("Failed to serialize the state")?;
|
||||
fs::write(".rustlings-state.json", buf)
|
||||
|
Reference in New Issue
Block a user