Skip to content

Update rustdoc - #62

Merged
Bloomca merged 10 commits into
mainfrom
update-rustdoc
Aug 25, 2026
Merged

Update rustdoc#62
Bloomca merged 10 commits into
mainfrom
update-rustdoc

Conversation

@Bloomca

@Bloomca Bloomca commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Description

Revise the rustdoc with all the extra additions to prepare for v1. Make docs more clear and document errors as well.

@Bloomca Bloomca left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Posted by Llŷr

This PR reworks the crate's rustdoc — adding # Errors sections and clarifying TOC, track, retry and read-option semantics — and drops the inherent CdReader::create_wav in favour of the free function. Doc claims match the implementation, but the public API removal needs attention, so strongly recommend addressing the feedback.

Comment thread src/lib.rs
Comment thread src/lib.rs
/// there might be hidden track support, which will be located at number 0.
pub number: u8,
/// starting offset, unnecessary to use directly
/// starting offset

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Posted by Llŷr

P3: start_lba is now just starting offset, while the neighbouring start_msf gained a full explanation with units and a link. Callers do use this field directly (e.g. passing it to read_sector_range or detect_track_format), so it should state that it is the absolute Logical Block Address of the track's first sector, at the same level of detail as the MSF field.

Comment thread src/lib.rs Outdated
@Bloomca
Bloomca merged commit d65a674 into main Aug 25, 2026
3 checks passed
@Bloomca
Bloomca deleted the update-rustdoc branch August 25, 2026 14:28
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.

1 participant