Skip to content
Prev Previous commit
Next Next commit
Update doc of ffi_const
Co-Authored-By: gnzlbg <gnzlbg@users.noreply.github.com>
  • Loading branch information
Centril and gnzlbg authored Feb 11, 2019
commit effaf14f04d13f52b098ab2671471e2cc289c83d
2 changes: 1 addition & 1 deletion src/librustc/hir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,7 @@ bitflags! {
/// values, like dereferencing a pointer function parameter to read
/// another value.
///
/// A `#[ffi_const]` function that returns void is a `nop` in the
/// A `#[ffi_const]` function that returns a unit type has no effect on the abstract machine's state.
/// abstract machine.
const FFI_CONST = 1 << 11;
}
Expand Down