Skip to content

Commit b1a954e

Browse files
authored
clean up rustdoc warnings (#31)
1 parent ea8a285 commit b1a954e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/http_pagination.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ where
165165
* describing the current page of results to return
166166
*
167167
* This implementation is used for `ApiScanByName` and `ApiScanById`. See
168-
* [`data_page_params_for_nameid_name`] and [`data_page_params_for_nameid_id`]
169-
* for variants that can be used for `ApiScanByNameOrId`.
168+
* [`data_page_params_nameid_name`] and [`data_page_params_nameid_id`] for
169+
* variants that can be used for `ApiScanByNameOrId`.
170170
*/
171171
pub fn data_page_params_for<'a, S>(
172172
rqctx: &'a Arc<RequestContext>,

src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
* instantiated (from scratch) with each OXC instance.
5353
*/
5454

55+
/*
56+
* We only use rustdoc for internal documentation, including private items, so
57+
* it's expected that we'll have links to private items in the docs.
58+
*/
59+
#![allow(private_intra_doc_links)]
60+
5561
mod api_error;
5662
pub mod api_model;
5763
mod cmd;

0 commit comments

Comments
 (0)