Skip to content

Commit 72b91a5

Browse files
Nathan Cohencathay4t
authored andcommitted
Connection calls now use immutable reference to self
1 parent f4cbd15 commit 72b91a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ where
3535
/// message, the stream is
3636
/// closed
3737
pub fn request(
38-
&mut self,
38+
&self,
3939
message: NetlinkMessage<T>,
4040
destination: SocketAddr,
4141
) -> Result<impl Stream<Item = NetlinkMessage<T>>, Error<T>> {
@@ -59,7 +59,7 @@ where
5959
}
6060

6161
pub fn notify(
62-
&mut self,
62+
&self,
6363
message: NetlinkMessage<T>,
6464
destination: SocketAddr,
6565
) -> Result<(), Error<T>> {

0 commit comments

Comments
 (0)