Skip to content

Commit

Permalink
Simplify ExtractParameterConstraints
Browse files Browse the repository at this point in the history
  • Loading branch information
trejjam committed Apr 8, 2024
1 parent 12511c2 commit 570dedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Riok.Mapperly.Tests/GeneratedMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public GeneratedMethod(MethodDeclarationSyntax declarationSyntax)
if (typeParameterConstraints.Count == 0)
return null;

return typeParameterConstraints.ToFullString().Trim(' ', '\r', '\n').Trim('\r', '\n').ReplaceLineEndings();
return typeParameterConstraints.ToFullString().Trim(' ', '\r', '\n').ReplaceLineEndings();
}

/// <summary>
Expand Down

0 comments on commit 570dedf

Please sign in to comment.