Skip to content

Commit 8b979e5

Browse files
remove incorrect parenthetical about byval attr
1 parent 96a7267 commit 8b979e5

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_target/src/abi/call

1 file changed

+2
-2
lines changed

compiler/rustc_target/src/abi/call/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ pub enum PassMode {
5454
/// argument. (This is the only mode that supports unsized arguments.)
5555
/// `on_stack` defines that the value should be passed at a fixed stack offset in accordance to
5656
/// the ABI rather than passed using a pointer. This corresponds to the `byval` LLVM argument
57-
/// attribute (using the Rust type of this argument). `on_stack` cannot be true for unsized
58-
/// arguments, i.e., when `meta_attrs` is `Some`.
57+
/// attribute. `on_stack` cannot be true for unsized arguments, i.e., when `meta_attrs` is
58+
/// `Some`.
5959
Indirect { attrs: ArgAttributes, meta_attrs: Option<ArgAttributes>, on_stack: bool },
6060
}
6161

0 commit comments

Comments
 (0)