We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d762efb commit b4e3420Copy full SHA for b4e3420
src/sys/unix.rs
@@ -1876,7 +1876,7 @@ impl crate::Socket {
1876
)
1877
)))
1878
)]
1879
- #[deprecated = "Use `Socket::device_index_v4` instead"]
+ #[deprecated = "Use `Socket::bind_device_by_index_v4` instead"]
1880
pub fn bind_device_by_index(&self, interface: Option<NonZeroU32>) -> io::Result<()> {
1881
self.bind_device_by_index_v4(interface)
1882
}
0 commit comments