Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
twitu committed Feb 22, 2024
1 parent d1bf4c1 commit 316b35a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/storage/file_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ impl FileStorage {
line.split(KEY_VALUE_SEPARATOR).collect();
let id = K::from_str(parts[0])?;
let value = V::from_str(parts[1])?;

// TODO: neutral value check when introducing monoids

value_by_id.insert(id, value);
}

Expand Down Expand Up @@ -118,7 +115,6 @@ impl FileStorage {
)?;

for (id, value) in value_by_id {
// TODO: Is neutral check might be needed when monoids are introduced
writer.write_all(
format!("{}{}{}\n", id, KEY_VALUE_SEPARATOR, value).as_bytes(),
)?;
Expand Down

0 comments on commit 316b35a

Please sign in to comment.