File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -751,14 +751,14 @@ pub enum Whence {
751
751
/// Specify an offset relative to the next location in the file greater than or
752
752
/// equal to offset that contains some data. If offset points to
753
753
/// some data, then the file offset is set to offset.
754
- #[ cfg( any( target_os = "linux " , target_os = "dragonfly " , target_os = "freebsd " ) ) ]
754
+ #[ cfg( any( target_os = "dragonfly " , target_os = "freebsd " , target_os = "linux " ) ) ]
755
755
SeekData = libc:: SEEK_DATA ,
756
756
/// Specify an offset relative to the next hole in the file greater than
757
757
/// or equal to offset. If offset points into the middle of a hole, then
758
758
/// the file offset should be set to offset. If there is no hole past offset,
759
759
/// then the file offset should be adjusted to the end of the file (i.e., there
760
760
/// is an implicit hole at the end of any file).
761
- #[ cfg( any( target_os = "linux " , target_os = "dragonfly " , target_os = "freebsd " ) ) ]
761
+ #[ cfg( any( target_os = "dragonfly " , target_os = "freebsd " , target_os = "linux " ) ) ]
762
762
SeekHole = libc:: SEEK_HOLE
763
763
}
764
764
You can’t perform that action at this time.
0 commit comments