From c512b9d4bc0bf3d36f1e72cc3110390590e8530b Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Fri, 23 Mar 2018 10:36:33 -0700 Subject: [PATCH] Remove note The explict cast doesn't work as expected --- src/ImageSharp/Image.LoadPixelData.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ImageSharp/Image.LoadPixelData.cs b/src/ImageSharp/Image.LoadPixelData.cs index 3d416b70e5..f90f4c8953 100644 --- a/src/ImageSharp/Image.LoadPixelData.cs +++ b/src/ImageSharp/Image.LoadPixelData.cs @@ -98,8 +98,6 @@ namespace SixLabors.ImageSharp public static Image LoadPixelData(Configuration config, TPixel[] data, int width, int height) where TPixel : struct, IPixel { - // There's an implict cast to Span from Array - // Should we remove this overload and expose Span ? return LoadPixelData(config, new Span(data), width, height); }