Skip to content

Commit 549cfda

Browse files
flyingrobotsclaude
andcommitted
fix: remove private intra-doc links in frame.rs
Rustdoc rejects links to private constants HEADER_SIZE and FRAME_MAGIC. Use plain backticks instead of link syntax. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 541fbf7 commit 549cfda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/warp-core/src/materialization

crates/warp-core/src/materialization/frame.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub const MIN_PAYLOAD_SIZE: usize = 32;
3838
/// # Wire-Format Limitations
3939
///
4040
/// The frame's `payload_len` field is stored as a [`u32`] in the wire format
41-
/// (see [`HEADER_SIZE`] for header layout). This means the total payload
41+
/// (see `HEADER_SIZE` for header layout). This means the total payload
4242
/// (`channel_id` + `data`) must fit in 32 bits:
4343
///
4444
/// - `channel_id` is fixed at 32 bytes
@@ -66,7 +66,7 @@ impl MaterializationFrame {
6666
/// # Format
6767
///
6868
/// Returns a buffer with:
69-
/// - Header ([`HEADER_SIZE`] = 12 bytes): [`FRAME_MAGIC`] + version + reserved + length
69+
/// - Header (`HEADER_SIZE` = 12 bytes): `FRAME_MAGIC` + version + reserved + length
7070
/// - `channel_id` (32 bytes)
7171
/// - `data` (variable length)
7272
///

0 commit comments

Comments
 (0)