Skip to content

Commit

Permalink
Fix links for succ/pred/inc/dec in system docs (#24363)
Browse files Browse the repository at this point in the history
Links for succ/pred/inc/dec were incorrect since they link to a symbol
with `int` as their second type.
Uses local referencing instead so that it links to the correct symbol.

Doesn't change the other links since they worked and doing the same
local referencing for `high`/`low` would've make them link to the group
of procs instead of the specific ones for ordinals
  • Loading branch information
ire4ever1190 authored Oct 26, 2024
1 parent aa90d00 commit 79ce3fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/system_overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ types, as well as their subtypes.
===================== =======================================
Proc Usage
===================== =======================================
`succ<#succ,T,int>`_ Successor of the value
`pred<#pred,T,int>`_ Predecessor of the value
`inc<#inc,T,int>`_ Increment the ordinal
`dec<#dec,T,int>`_ Decrement the ordinal
succ_ Successor of the value
pred_ Predecessor of the value
inc_ Increment the ordinal
dec_ Decrement the ordinal
`high<#high,T>`_ Return the highest possible value
`low<#low,T>`_ Return the lowest possible value
`ord<#ord,T>`_ Return `int` value of an ordinal value
Expand Down

0 comments on commit 79ce3fe

Please sign in to comment.