Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix many clippy warnings#166

Open
Standing-Man wants to merge 3 commits intoskyzh:mainfrom
Standing-Man:clippy-fix
Open

chore: fix many clippy warnings#166
Standing-Man wants to merge 3 commits intoskyzh:mainfrom
Standing-Man:clippy-fix

Conversation

Copy link

Standing-Man commented Dec 11, 2025

  • fix many clippy warnings
mini-lsm-mvcc/src/tests/harness.rs:76:12 | 76 | fn key(&self) -> KeySlice { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 76 | fn key(&self) -> KeySlice<'_> { | ++++ warning: `mini-lsm-mvcc` (lib test) generated 17 warnings (12 duplicates) (run `cargo clippy --fix --lib -p mini-lsm-mvcc --tests` to apply 5 suggestions)">warning: `mini-lsm` (lib test) generated 16 warnings (11 duplicates) (run `cargo clippy --fix --lib -p mini-lsm --tests` to apply 5 suggestions)
warning: hiding a lifetime that's elided elsewhere is confusing
--> mini-lsm-mvcc/src/tests/harness.rs:76:12
|
76 | fn key(&self) -> KeySlice {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
76 | fn key(&self) -> KeySlice<'_> {
| ++++

warning: `mini-lsm-mvcc` (lib test) generated 17 warnings (12 duplicates) (run `cargo clippy --fix --lib -p mini-lsm-mvcc --tests` to apply 5 suggestions)

Signed-off-by: StandingMan
skyzh approved these changes Dec 18, 2025
Copy link
Owner

skyzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! time to bump my rust compiler..

Standing-Man reacted with laugh emoji Standing-Man reacted with eyes emoji
Standing-Man added 2 commits December 18, 2025 14:25
Signed-off-by: StandingMan
Signed-off-by: StandingMan
Standing-Man requested a review from skyzh December 18, 2025 08:10
Standing-Man commented Dec 18, 2025
[book]
authors = ["Alex Chi Z"]
language = "en"
multilingual = false
Copy link
Author

Standing-Man Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @skyzh, I passed the CI checks locally, but I'm not sure why it failed on the remote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

skyzh Awaiting requested review from skyzh

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants