message: Use `write_str` instead of `format!` with string with no variables in `NetworkInfoRequest`'s `Display` implementation
diff: @@ -205,19 +205,23 @@ pub(crate) enum NetworkInfoRequest {
  /// Responder to be called with all connected non-syncing peers in random order.
  responder: Responder<Vec<NodeId>>,
  },
  + /// Get detailed insights into the nodes networking.
  + Insight {
  + responder: Responder<NetworkInsights>,
  + },
  }
  impl Display for NetworkInfoRequest {
  fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result {
  match self {
  NetworkInfoRequest::Peers { responder: _ } => {
  - write!(formatter, "get peers-to-socket-address map")
  + formatter.write_str("get peers-to-socket-address map")
  }
  NetworkInfoRequest::FullyConnectedPeers { responder: _ } => {
  - write!(formatter, "get fully connected peers")
  + formatter.write_str("get fully connected peers")
  }
  NetworkInfoRequest::FullyConnectedNonSyncingPeers { responder: _ } => {
  - write!(formatter, "get fully connected non-syncing peers")
  + formatter.write_str("get fully connected non-syncing peers")
  }
  }
  }
  