Skip to content

Commit

Permalink
Fix improper type names in sample templates
Browse files Browse the repository at this point in the history
TSelf/TId are not required (pending an analyzer to enforce this).
  • Loading branch information
kzu committed Dec 7, 2024
1 parent c0605b1 commit 8050bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/StructId.FunctionalTests/ObjectTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using StructId.Functional;

[TStructId]
file partial record struct ObjectTemplate(object Value)
file partial record struct TSelf(object Value)
{
// applies to any struct id, whether struct or string
}
2 changes: 1 addition & 1 deletion src/StructId.FunctionalTests/StructTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using StructId.Functional;

[TStructId]
file partial record struct StructTemplate(ValueType Value)
file partial record struct TSelf(ValueType Value)
{
// applies to any ValueType-based struct id
}

0 comments on commit 8050bb1

Please sign in to comment.