Skip to content

Commit 065036c

Browse files
committed
fix: mark from_i32 pub(crate)
1 parent 3982d8a commit 065036c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errno.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3727,7 +3727,7 @@ mod consts {
37273727
pub const EOPNOTSUPP: Errno = Errno::ENOTSUP;
37283728
}
37293729

3730-
pub const fn from_i32(e: i32) -> Errno {
3730+
pub(crate) const fn from_i32(e: i32) -> Errno {
37313731
use self::Errno::*;
37323732

37333733
match e {

0 commit comments

Comments
 (0)