MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / seq_valid

Function seq_valid

src/serde/ser.rs:653–657  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

651
652 #[test]
653 fn seq_valid() {
654 let w = new_wrapper!();
655 let mut seq = w.serialize_seq(Some(1)).unwrap();
656 let _ = seq.serialize_element(&0u8); // serialize_seq 1 == serialize 1.
657 }
658
659 #[test]
660 #[should_panic = "length mismatch"]

Callers

nothing calls this directly

Calls 2

serialize_seqMethod · 0.80
serialize_elementMethod · 0.80

Tested by

no test coverage detected