diff options
author | HampusM <hampus@hampusmat.com> | 2024-08-27 19:25:16 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-08-27 19:25:16 +0200 |
commit | 9d6a63f7dba402a95243d9d0c4b20b45becfdaed (patch) | |
tree | be4346bea101c0109999587142d24122f87f4983 /src | |
parent | 13d4ff167880c5c46f9373c7e75b69cb68da42d8 (diff) |
fix: call with write_item function with correct index
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ where self.grow_amortized(1); } - self.write_item(self.length - 1, item); + self.write_item(self.length, item); self.length += 1; |