Skip to content

Commit

Permalink
page-tracking: Fix PageBox Doc test
Browse files Browse the repository at this point in the history
To enable turning on doc tests in CI.

Signed-off-by: Dylan Reid <[email protected]>
  • Loading branch information
dgreid committed Oct 2, 2022
1 parent 694180b commit a19067d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page-tracking/src/collections/page_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use crate::PageTracker;
/// backing_page: Page<InternalClean>,
/// page_tracker: PageTracker,
/// ) -> u64 {
/// let boxxed_data = PageBox::new_with(TestData { a, b }, backing_page, page_tracker);
/// let boxxed_data = PageBox::new_with(TestData { a, b }, backing_page.into(), page_tracker);
/// let sum = boxxed_data.a + boxxed_data.b;
/// sum
/// }
Expand Down

0 comments on commit a19067d

Please sign in to comment.