commit | 0cc06506b807a2d7fa5183a207e1ce3f9727cf00 | [log] [tgz] |
---|---|---|
author | xiexiaoqun <xiexiaoqun@users.noreply.github.com> | Thu Sep 09 10:43:00 2021 +0800 |
committer | GitHub <noreply@github.com> | Wed Sep 08 22:43:00 2021 -0400 |
tree | 1c8b3d6d39e144f9ff159db63921376926adaefe | |
parent | cdbcff99958c024d224de98a0dfc2e98d6d779b6 [diff] |
Remove redundant `format!(..)` macro calls (#2443) Client: rs
diff --git a/lib/rs/src/protocol/compact.rs b/lib/rs/src/protocol/compact.rs index e08a30b..0fefca0 100644 --- a/lib/rs/src/protocol/compact.rs +++ b/lib/rs/src/protocol/compact.rs
@@ -638,10 +638,10 @@ TType::Set => 0x0A, TType::Map => 0x0B, TType::Struct => 0x0C, - _ => panic!(format!( + _ => panic!( "should not have attempted to convert {} to u8", field_type - )), + ), } }