From f200038b5dccf8a7fe672e14f6bcdcac23829514 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Sat, 11 May 2024 09:02:37 +0200 Subject: [PATCH] remove some docs --- src/socketcan/socket.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/socketcan/socket.rs b/src/socketcan/socket.rs index ae7a3f6..dd3180c 100644 --- a/src/socketcan/socket.rs +++ b/src/socketcan/socket.rs @@ -106,13 +106,11 @@ impl CanFdSocket { } } - /// Enable or disable FD mode on a socket. pub fn set_fd_mode(&self, enabled: bool) -> std::io::Result<()> { let enable = c_int::from(enabled); self.set_socket_option(SOL_CAN_RAW, CAN_RAW_FD_FRAMES, &enable) } - /// Change socket to non-blocking mode or back to blocking mode. pub fn set_nonblocking(&self, nonblocking: bool) -> std::io::Result<()> { self.as_raw_socket().set_nonblocking(nonblocking) }