feat: Upgrade rust to nightly-2022-07-14 (#217)

* feat: upgrade rust to nightly-2022-07-14

* style: Fix some clippy warnings

* style: clippy fix

* style: fix clippy

* style: Fix clippy

Some PartialEq warnings have been work around using cfg_attr test

* feat: Implement Eq and PartialEq for PrimitiveType

* chore: Remove unnecessary allow

* chore: Remove usage of cfg_attr for PartialEq
This commit is contained in:
evenyag
2022-09-01 17:50:48 +08:00
committed by GitHub
parent db55c69117
commit d71ae7934e
39 changed files with 85 additions and 61 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use std::fmt;
/// Common status code for public API.
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum StatusCode {
// ====== Begin of common status code ==============
/// Success.