[core] Update docs for private items. (#6219)

Make `cargo doc --document-private-items` work again in wgpu-core.
This commit is contained in:
Jim Blandy 2024-09-05 01:15:27 -07:00 committed by GitHub
parent 64ea7efc04
commit 36124b12c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,8 +82,8 @@ pub(crate) enum CommandEncoderStatus {
/// ///
/// When a `CommandEncoder` is left in this state, we have also /// When a `CommandEncoder` is left in this state, we have also
/// returned an error result from the function that encountered /// returned an error result from the function that encountered
/// the problem. Future attempts to use the encoder (that is, /// the problem. Future attempts to use the encoder (for example,
/// calls to [`CommandBuffer::get_encoder`]) will also return /// calls to [`CommandBuffer::check_recording`]) will also return
/// errors. /// errors.
/// ///
/// Calling [`Global::command_encoder_finish`] in this state /// Calling [`Global::command_encoder_finish`] in this state