Skip to content

Commit

Permalink
Fix typo in example specification
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Nov 22, 2024
1 parent 4e5e0a6 commit 60cb5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ Specifies that a non-nullable return value may be null.
> *Example*: Consider the following generic method:
>
> <!-- Example: {template:"code-in-class-lib", name:"MaybeNull1Attribute", replaceEllipsis:true, customEllipsisReplacements: ["return default;"]", expectedErrors:["CS8627"]} -->
> <!-- Example: {template:"code-in-class-lib", name:"MaybeNull1Attribute", replaceEllipsis:true, customEllipsisReplacements: ["return default;"], expectedErrors:["CS8627"]} -->
> ```csharp
> #nullable enable
> public T? Find<T>(IEnumerable<T> sequence, Func<T, bool> predicate) { ... }
Expand Down

0 comments on commit 60cb5dc

Please sign in to comment.