Skip to content

Commit

Permalink
Fixed example (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkoelman authored Jul 30, 2022
1 parent 1ef728a commit 0357414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _rules/1520.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ Never use `var` for [built-in types](https://docs.microsoft.com/en-us/dotnet/csh
// All other cases.
IQueryable<Order> recentOrders = ApplyFilter(order => order.CreatedAt > DateTime.Now.AddDays(-30));
LoggerMessage message = Compose(context);
ReadOnlySpan<string> key = ExtractKeyFromPair("email=john.doe@mail.com");
ReadOnlySpan<char> key = ExtractKeyFromPair("email=john.doe@mail.com");
IDictionary<Category, Product> productsPerCategory =
shoppingBasket.Products.ToDictionary(product => product.Category);

0 comments on commit 0357414

Please sign in to comment.