Mark some internal status codes as private

This commit is contained in:
Nigel Tao committed 2017-12-27 13:14:46 +11:00
1 parent b5d4d104e8
commit 7012d2fef7
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -25,10 +25,10 @@ pub error "bad distance code count"
pub error "bad flate block" pub error "bad flate block"
pub error "bad literal/length code count" pub error "bad literal/length code count"
pub error "inconsistent stored block length" pub error "inconsistent stored block length"
pub error "internal error: inconsistent Huffman decoder state" pri error "internal error: inconsistent Huffman decoder state"
pub error "internal error: inconsistent Huffman end_of_block" pri error "internal error: inconsistent Huffman end_of_block"
pub error "internal error: inconsistent distance" pri error "internal error: inconsistent distance"
pub error "internal error: inconsistent n_bits" pri error "internal error: inconsistent n_bits"
pub error "missing end-of-block code" pub error "missing end-of-block code"
pub error "no Huffman codes" pub error "no Huffman codes"
+1 -1
View File
@@ -19,7 +19,7 @@ pub error "bad GIF extension label"
pub error "bad GIF header" pub error "bad GIF header"
pub error "bad LZW literal width" pub error "bad LZW literal width"
pub error "internal error: inconsistent limited read" pri error "internal error: inconsistent limited read"
pub error "TODO: unsupported Local Color Table" pub error "TODO: unsupported Local Color Table"