message: code style optimization with as _
diff: @@ -29,50 +29,22 @@ impl FlowStat {
  }
  /// Transmitted bytes count
  - #[cfg(not(any(target_arch = "mips", target_arch = "powerpc")))]
  - pub fn tx(&self) -> u64 {
  - self.tx.load(Ordering::Relaxed)
  - }
  -
  - /// Transmitted bytes count
  - #[cfg(any(target_arch = "mips", target_arch = "powerpc"))]
  pub fn tx(&self) -> u64 {
  - self.tx.load(Ordering::Relaxed) as u64
  + self.tx.load(Ordering::Relaxed) as _
  }
  /// Increase transmitted bytes
  - #[cfg(not(any(target_arch = "mips", target_arch = "powerpc")))]
  - pub fn incr_tx(&self, n: u64) {
  - self.tx.fetch_add(n, Ordering::AcqRel);
  - }
  -
  - /// Increase transmitted bytes
  - #[cfg(any(target_arch = "mips", target_arch = "powerpc"))]
  pub fn incr_tx(&self, n: u64) {
  - self.tx.fetch_add(n as u32, Ordering::AcqRel);
  + self.tx.fetch_add(n as _, Ordering::AcqRel);
  }
  /// Received bytes count
  - #[cfg(not(any(target_arch = "mips", target_arch = "powerpc")))]
  - pub fn rx(&self) -> u64 {
  - self.rx.load(Ordering::Relaxed)
  - }
  -
  - /// Received bytes count
  - #[cfg(any(target_arch = "mips", target_arch = "powerpc"))]
  pub fn rx(&self) -> u64 {
  - self.rx.load(Ordering::Relaxed) as u64
  + self.rx.load(Ordering::Relaxed) as _
  }
  /// Increase received bytes
  - #[cfg(not(any(target_arch = "mips", target_arch = "powerpc")))]
  - pub fn incr_rx(&self, n: u64) {
  - self.rx.fetch_add(n, Ordering::AcqRel);
  - }
  -
  - /// Increase received bytes
  - #[cfg(any(target_arch = "mips", target_arch = "powerpc"))]
  pub fn incr_rx(&self, n: u64) {
  - self.rx.fetch_add(n as u32, Ordering::AcqRel);
  + self.rx.fetch_add(n as _, Ordering::AcqRel);
  }
  }
  