Skip to content

Commit d371bdc

Browse files
committed
Fix deprecated attribute for __error
1 parent ae193ea commit d371bdc

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/freebsdlike/dragonfly

1 file changed

+1
-1
lines changed

src/unix/bsd/freebsdlike/dragonfly/errno.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// DragonFlyBSD's __error function is declared with "static inline", so it must
22
// be implemented in the libc crate, as a pointer to a static thread_local.
33
f! {
4-
#[deprecated(since = "0.2.77", "Use `__errno_location()` instead")]
4+
#[deprecated(since = "0.2.77", note = "Use `__errno_location()` instead")]
55
pub fn __error() -> *mut ::c_int {
66
&mut errno
77
}

0 commit comments

Comments
 (0)