Skip to content

Commit 4dcf805

Browse files
committed
chore: drop redundant allow(unreachable_pub) on version field
The module is `cfg`-gated `pub`/`pub(crate)` and the parent struct is `#[internal_api]`, so plain `pub` fields don't trigger the lint. Same pattern as `ParsedLogPath`. Confirmed by `cargo clippy --tests -- -D warnings` on both feature configs. Co-authored-by: Isaac
1 parent 4b70a26 commit 4dcf805

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

kernel/src/last_checkpoint_hint.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ pub(crate) struct LastCheckpointHintSummary {
4040
#[internal_api]
4141
pub(crate) struct LastCheckpointHint {
4242
/// The version of the table when the last checkpoint was made.
43-
#[allow(unreachable_pub)] // used by acceptance tests (TODO make an fn accessor?)
4443
pub version: Version,
4544
/// The number of actions that are stored in the checkpoint.
4645
pub size: i64,

0 commit comments

Comments
 (0)