From 8600c33afb976117905eeeece4be41b1b8e95545 Mon Sep 17 00:00:00 2001 From: Phil Carbone Date: Fri, 15 May 2020 16:21:48 -0400 Subject: [PATCH] Making ByteSize IFormattable --- src/Humanizer/Bytes/ByteSize.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Humanizer/Bytes/ByteSize.cs b/src/Humanizer/Bytes/ByteSize.cs index 2c9fe5e36..1a2597926 100644 --- a/src/Humanizer/Bytes/ByteSize.cs +++ b/src/Humanizer/Bytes/ByteSize.cs @@ -30,7 +30,7 @@ namespace Humanizer.Bytes /// Represents a byte size value. /// #pragma warning disable 1591 - public struct ByteSize : IComparable, IEquatable, IComparable + public struct ByteSize : IComparable, IEquatable, IComparable, IFormattable { public static readonly ByteSize MinValue = FromBits(long.MinValue); public static readonly ByteSize MaxValue = FromBits(long.MaxValue);