Skip to content

Commit

Permalink
Connection calls now use immutable reference to self
Browse files Browse the repository at this point in the history
  • Loading branch information
najaco committed Aug 17, 2023
1 parent ce4f57f commit c3915e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ where
/// message, the stream is
/// closed
pub fn request(
&mut self,
&self,
message: NetlinkMessage<T>,
destination: SocketAddr,
) -> Result<impl Stream<Item = NetlinkMessage<T>>, Error<T>> {
Expand All @@ -59,7 +59,7 @@ where
}

pub fn notify(
&mut self,
&self,
message: NetlinkMessage<T>,
destination: SocketAddr,
) -> Result<(), Error<T>> {
Expand Down

0 comments on commit c3915e8

Please sign in to comment.