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 ;
3
3
4
4
#[ test]
5
5
fn 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.
10
10
assert_eq ! ( size_of:: <RawFd >( ) , 4 ) ;
11
11
}
You can’t perform that action at this time.
0 commit comments