You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In msgpack-rust-master/rmp/src/encode/mod.rs, the comment indicates that function will panic if ty is negative.
/// # Panics////// Panics if `ty` is negative, because it is reserved for future MessagePack extension including/// 2-byte type information.pubfn write_ext_meta<W:RmpWrite>(wr:&mutW,len:u32,ty:i8) -> Result<Marker,ValueWriteError<W::Error>>{
However, following test will not panic, which is inconsistent with comment.
Activity