Skip to content

Commit 7f01ae8

Browse files
committed
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](rust-lang/rust#80896) `pointer` link.
2 parents 1d07c5b + b5a1ddf commit 7f01ae8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/hir-ty/src/mir.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,8 @@ pub enum Rvalue {
676676
/// `ArrayToPointer` and `MutToConstPointer` are special.
677677
Cast(CastKind, Operand, Ty),
678678

679-
/// * `Offset` has the same semantics as [`offset`](pointer::offset), except that the second
679+
// FIXME link to `pointer::offset` when it hits stable.
680+
/// * `Offset` has the same semantics as `pointer::offset`, except that the second
680681
/// parameter may be a `usize` as well.
681682
/// * The comparison operations accept `bool`s, `char`s, signed or unsigned integers, floats,
682683
/// raw pointers, or function pointers and return a `bool`. The types of the operands must be

0 commit comments

Comments
 (0)