File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
library/std/src/os/wasi/io/fd Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- use std :: mem:: size_of;
2- use std :: os:: wasi:: io:: RawFd ;
1+ use crate :: mem:: size_of;
2+ use crate :: os:: wasi:: io:: RawFd ;
33
44#[ test]
55fn test_raw_fd_layout ( ) {
6- /// `OwnedFd` and `BorrowedFd` use `rustc_layout_scalar_valid_range_start`
7- /// and `rustc_layout_scalar_valid_range_end`, with values that depend on
8- /// the bit width of `RawFd`. If this ever changes, those values will need
9- /// to be updated.
6+ // `OwnedFd` and `BorrowedFd` use `rustc_layout_scalar_valid_range_start`
7+ // and `rustc_layout_scalar_valid_range_end`, with values that depend on
8+ // the bit width of `RawFd`. If this ever changes, those values will need
9+ // to be updated.
1010 assert_eq ! ( size_of:: <RawFd >( ) , 4 ) ;
1111}
You can’t perform that action at this time.
0 commit comments