Skip to content

Fix jet documentation whitespace#276

Open
schoen wants to merge 1 commit intoBlockstreamResearch:masterfrom
schoen:docs-formatting
Open

Fix jet documentation whitespace#276
schoen wants to merge 1 commit intoBlockstreamResearch:masterfrom
schoen:docs-formatting

Conversation

@schoen
Copy link
Copy Markdown
Contributor

@schoen schoen commented Apr 6, 2026

Some whitespace edits in the jet documentation.

@schoen schoen requested a review from delta1 as a code owner April 6, 2026 19:11
@schoen schoen force-pushed the docs-formatting branch from d3fd9a6 to 1034473 Compare April 6, 2026 19:50
Elements::FullRightShift64_16 => "Helper for right-shifting bits. The bits are shifted from a 16-bit value into a 64-bit value. Return the shifted value and the 16 bits that were shifted out.",
Elements::FullRightShift64_32 => "Helper for right-shifting bits. The bits are shifted from a 32-bit value into a 64-bit value. Return the shifted value and the 32 bits that were shifted out.",
Elements::High1 => "Return `u1::MAX` = 1.",
Elements::High1 => "Return [`u1::MAX`] = 1.",
Copy link
Copy Markdown
Collaborator

@KyrylR KyrylR Apr 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    Checking either v1.13.0
 Documenting simplicityhl-as-rust v0.2.0 (/private/tmp/SimplicityHL-as-rust)
error: unresolved link to `u1::MAX`
   --> src/jet/multi_bit_logic.rs:561:14
    |
561 | /// Return [`u1::MAX`] = 1.
    |              ^^^^^^^ the struct `u1` has no field or associated item named `MAX`
    |
    = note: requested on the command line with `-D rustdoc::broken-intra-doc-links`

error: unresolved link to `u1::MIN`
    --> src/jet/multi_bit_logic.rs:1146:14
     |
1146 | /// Return [`u1::MIN`] = 0.
     |              ^^^^^^^ the struct `u1` has no field or associated item named `MIN`

error: could not document `simplicityhl-as-rust`

Command: RUSTDOCFLAGS='-D rustdoc::broken_intra_doc_links' cargo doc --no-deps

Maybe it is better just to remove u1::MAX? same for min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants