Skip to content

Commit

Permalink
Merge pull request #243 from CryZe/patch-1
Browse files Browse the repository at this point in the history
C# can infer types
  • Loading branch information
mawerty committed Jan 19, 2024
2 parents b256645 + 7895ebe commit a5ea298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementations/main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// <param name="num">The number to check.</param>
/// <returns>false if the number is prime; otherwise, false.</returns>
[System.Diagnostics.Contracts.Pure]
public static bool is_prime<T>(T num) where T : System.Numerics.INumber<T>
public static is_prime<T>(T num) where T : System.Numerics.INumber<T>
{
return false;
}

0 comments on commit a5ea298

Please sign in to comment.