Skip to content

2026-05-01

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 May 00:10
Fix rustdoc private_intra_doc_links issue in pagable storage trait

Summary:
The issue https://github.com/facebook/buck2/actions/runs/25183757994/job/73835505180 shows

```
ERROR: Documentation warning:
warning: public documentation for `store_data` links to private item `PagableData::compute_key`
  --> pagable/src/storage/traits.rs:76:11
   |
76 |     /// [`PagableData::compute_key`]; if the same data is stored twice the second
   |           ^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
   |
   = note: this link will resolve properly if you pass `--document-private-items`
   = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
```

The docstring for `PagableStorage::store_data` used an intra-doc link to `PagableData::compute_key`, but `compute_key` is `pub(crate)`.

So remove `[]`,

___

overriding_review_checks_triggers_an_audit_and_retroactive_review
Oncall Short Name: build_infra

Differential Revision: D103304382

fbshipit-source-id: 04c8e3e92d70d2c2a19f3cd5641b5cbc6f496c8a