Skip to content

Commit

Permalink
Merge pull request #934 from philcarbone/feature/ifromattable-bytesize
Browse files Browse the repository at this point in the history
Making ByteSize IFormattable
  • Loading branch information
clairernovotny authored Jun 2, 2020
2 parents 13e4bc2 + 8600c33 commit 6a06840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Humanizer/Bytes/ByteSize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Humanizer.Bytes
/// Represents a byte size value.
/// </summary>
#pragma warning disable 1591
public struct ByteSize : IComparable<ByteSize>, IEquatable<ByteSize>, IComparable
public struct ByteSize : IComparable<ByteSize>, IEquatable<ByteSize>, IComparable, IFormattable
{
public static readonly ByteSize MinValue = FromBits(long.MinValue);
public static readonly ByteSize MaxValue = FromBits(long.MaxValue);
Expand Down

0 comments on commit 6a06840

Please sign in to comment.