mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
Auto merge of #14220 - lowr:fix/ci-pointer-offset-is-unstable, r=lnicola
minor: Don't use unstable `pointer` link Our CI is failing because rustdoc is complaining we're using [unstable](https://github.com/rust-lang/rust/issues/80896) `pointer` link.
This commit is contained in:
commit
7f01ae877d
1 changed files with 2 additions and 1 deletions
|
@ -676,7 +676,8 @@ pub enum Rvalue {
|
||||||
/// `ArrayToPointer` and `MutToConstPointer` are special.
|
/// `ArrayToPointer` and `MutToConstPointer` are special.
|
||||||
Cast(CastKind, Operand, Ty),
|
Cast(CastKind, Operand, Ty),
|
||||||
|
|
||||||
/// * `Offset` has the same semantics as [`offset`](pointer::offset), except that the second
|
// FIXME link to `pointer::offset` when it hits stable.
|
||||||
|
/// * `Offset` has the same semantics as `pointer::offset`, except that the second
|
||||||
/// parameter may be a `usize` as well.
|
/// parameter may be a `usize` as well.
|
||||||
/// * The comparison operations accept `bool`s, `char`s, signed or unsigned integers, floats,
|
/// * The comparison operations accept `bool`s, `char`s, signed or unsigned integers, floats,
|
||||||
/// raw pointers, or function pointers and return a `bool`. The types of the operands must be
|
/// raw pointers, or function pointers and return a `bool`. The types of the operands must be
|
||||||
|
|
Loading…
Reference in a new issue