Skip to content

Commit

Permalink
remove incorrect parenthetical about byval attr
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdesjardins committed Mar 7, 2024
1 parent 96a7267 commit 8b979e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_target/src/abi/call/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ pub enum PassMode {
/// argument. (This is the only mode that supports unsized arguments.)
/// `on_stack` defines that the value should be passed at a fixed stack offset in accordance to
/// the ABI rather than passed using a pointer. This corresponds to the `byval` LLVM argument
/// attribute (using the Rust type of this argument). `on_stack` cannot be true for unsized
/// arguments, i.e., when `meta_attrs` is `Some`.
/// attribute. `on_stack` cannot be true for unsized arguments, i.e., when `meta_attrs` is
/// `Some`.
Indirect { attrs: ArgAttributes, meta_attrs: Option<ArgAttributes>, on_stack: bool },
}

Expand Down

0 comments on commit 8b979e5

Please sign in to comment.