Skip to content

Commit

Permalink
Update 40-fasterlog-basics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc committed Dec 5, 2020
1 parent 7021cd9 commit 6dc0366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/40-fasterlog-basics.md
Expand Up @@ -107,7 +107,7 @@ a fixed region (first 100MB) of the log follows:
Scan using `IAsyncEnumerable`:

```cs
using (iter = log.Scan(log.BeginAddress, 100_000_000))
using (var iter = log.Scan(log.BeginAddress, 100_000_000))
await foreach ((byte[] result, int length, long currentAddress, long nextAddress) in iter.GetAsyncEnumerable())
{
// Process record
Expand Down

0 comments on commit 6dc0366

Please sign in to comment.