mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
More target-typed new and redundant paranthesis cleanup
This commit is contained in:
@@ -13,7 +13,7 @@ public struct ShmartNumber : IEquatable<ShmartNumber>
|
||||
|
||||
public static implicit operator ShmartNumber(long num)
|
||||
{
|
||||
return new ShmartNumber(num);
|
||||
return new(num);
|
||||
}
|
||||
|
||||
public static implicit operator long(ShmartNumber num)
|
||||
@@ -23,7 +23,7 @@ public struct ShmartNumber : IEquatable<ShmartNumber>
|
||||
|
||||
public static implicit operator ShmartNumber(int num)
|
||||
{
|
||||
return new ShmartNumber(num);
|
||||
return new(num);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
Reference in New Issue
Block a user