Skip to content

Commit b535228

Browse files
committed
remove: unused InvalidHeaderStart BinTensorError
1 parent 60f0584 commit b535228

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bintensors/src/tensor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ const OFFSET: usize = 8;
2020
pub enum BinTensorError {
2121
/// The header is an invalid UTF-8 string and cannot be read.
2222
InvalidHeader,
23-
/// The header's first byte is not the expected `{`.
24-
InvalidHeaderStart,
2523
/// The header is large than 100Mo which is considered too large (Might evolve in the future).
2624
HeaderTooLarge,
2725
/// The header is smaller than 8 bytes

0 commit comments

Comments
 (0)