message: fix: syntax error & clippy lint
diff: @@ -734,15 +734,12 @@ impl<CS: ChainStore> CKBProtocolHandler for Synchronizer<CS> {
  fn disconnected(&self, _nc: Box<CKBProtocolContext>, peer: PeerIndex) {
  info!(target: "sync", "peer={} SyncProtocol.disconnected", peer);
  - let state = self.peers.state.write();
  + let mut state = self.peers.state.write();
  if let Some(peer_state) = state.get(&peer) {
  - if peer_state.sync_started {
  - if self.n_sync.fetch_sub(1, Ordering::Release) == 0 {
  - // overflow
  + if peer_state.sync_started && self.n_sync.fetch_sub(1, Ordering::Release) == 0 {
  panic!("Synchronizer n_sync overflow");
  }
  }
  - }
  state.remove(&peer);
  self.peers.disconnected(peer);
  }
  