Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 0e6dd3d

Browse files
committed
Remove unreachable function from simd-json PR
1 parent 0b8b3a0 commit 0e6dd3d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -333,16 +333,6 @@ where
333333
value.encode(&mut encoder)
334334
}
335335

336-
#[cfg(all(
337-
feature = "lib-somd-json",
338-
any(feature = "parse-dom", feature = "stringify-dom")
339-
))]
340-
fn serde_json_parse_dom(bytes: &[u8]) -> serde_json::Result<serde_json::Value> {
341-
use std::str;
342-
let s = str::from_utf8(bytes).unwrap();
343-
serde_json::from_str(s)
344-
}
345-
346336
#[cfg(all(
347337
feature = "lib-simd-json",
348338
any(feature = "parse-dom", feature = "stringify-dom")

0 commit comments

Comments
 (0)