mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-24 22:47:32 -05:00
Remove todo
This commit is contained in:
parent
193e0a03b2
commit
b3642b0219
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue