diff --git a/volo-grpc/src/status.rs b/volo-grpc/src/status.rs index 4afe731b..1e519ce3 100644 --- a/volo-grpc/src/status.rs +++ b/volo-grpc/src/status.rs @@ -169,7 +169,6 @@ impl Status { } /// Create a new [`Status`] with the associated code and message. - pub fn new(code: Code, message: impl Into) -> Self { Self { code, diff --git a/volo-thrift/src/codec/default/thrift.rs b/volo-thrift/src/codec/default/thrift.rs index b49eeac0..fc0a5d50 100644 --- a/volo-thrift/src/codec/default/thrift.rs +++ b/volo-thrift/src/codec/default/thrift.rs @@ -26,15 +26,15 @@ impl MakeThriftCodec { } } - /// Whether to use thrift multiplex protocol. - /// - /// When the multiplexed protocol is used, the name contains the service name, - /// a colon : and the method name. The multiplexed protocol is not compatible - /// with other protocols. - /// - /// Spec: - /// - /// This is unimplemented yet. + // /// Whether to use thrift multiplex protocol. + // /// + // /// When the multiplexed protocol is used, the name contains the service name, + // /// a colon : and the method name. The multiplexed protocol is not compatible + // /// with other protocols. + // /// + // /// Spec: + // /// + // /// This is unimplemented yet. // pub fn with_multiplex(mut self, multiplex: bool) -> Self { // self.multiplex = multiplex; // self