File tree Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ fn main() {
54
54
55
55
// Check for eg. `RUSTFLAGS=--cfg=rustix_use_experimental_asm`. This is a
56
56
// rustc flag rather than a cargo feature flag because it's experimental
57
- // and not something we want accidentally enabled via --all-features.
57
+ // and not something we want accidentally enabled via ` --all-features` .
58
58
let rustix_use_experimental_asm = var ( "CARGO_CFG_RUSTIX_USE_EXPERIMENTAL_ASM" ) . is_ok ( ) ;
59
59
60
60
// Miri doesn't support inline asm, and has builtin support for recognizing
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ pub use imp::fs::types::FsWord;
37
37
///
38
38
/// [`utimensat`]: crate::fs::utimensat
39
39
/// [`futimens`]: crate::fs::futimens
40
- //
41
40
// This is `repr(C)` and specifically laid out to match the representation used
42
41
// by `utimensat` and `futimens`, which expect 2-element arrays of timestamps.
43
42
#[ repr( C ) ]
Original file line number Diff line number Diff line change 1
- //! rustix's `init` finction .
1
+ //! rustix's `init` function .
2
2
//!
3
3
//! # Safety
4
4
//!
Original file line number Diff line number Diff line change 1
- //! Convenient and efficient string argment passing.
1
+ //! Convenient and efficient string argument passing.
2
2
//!
3
3
//! This module defines the `Arg` trait and implements it for several common
4
4
//! string types. This allows users to pass any of these string types directly
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ fn test_backends() {
34
34
libc_dep
35
35
) ;
36
36
37
- // Test the use-default crate with --cfg=rustix_use_libc
37
+ // Test the use-default crate with ` --cfg=rustix_use_libc`.
38
38
assert ! (
39
39
has_dependency(
40
40
"test-crates/use-default" ,
@@ -57,7 +57,7 @@ fn test_backends() {
57
57
"use-default with --cfg=rustix_use_libc depends on linux-raw-sys"
58
58
) ;
59
59
60
- // Test the use-default crate with --features=rustix/use-libc
60
+ // Test the use-default crate with ` --features=rustix/use-libc`.
61
61
assert ! (
62
62
has_dependency(
63
63
"test-crates/use-default" ,
You can’t perform that action at this time.
0 commit comments