Browse Source

Sync shared code from runtime (#54306)

Co-authored-by: eerhardt <[email protected]>
github-actions[bot] 2 years ago
parent
commit
6e537f4809
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Shared/runtime/Http2/Hpack/Huffman.cs

+ 1 - 1
src/Shared/runtime/Http2/Hpack/Huffman.cs

@@ -677,7 +677,7 @@ namespace System.Net.Http.HPack
             // see comments in GenerateDecodingLookupTree() describing decoding table
 
             Span<byte> dst = dstArray;
-            Debug.Assert(dst != null && dst.Length > 0);
+            Debug.Assert(dst.Length > 0);
 
             ushort[] decodingTree = s_decodingTree;