continuwuity/src/database
Tom Foster b5a2e49ae4
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 43s
Release Docker Image / define-variables (push) Successful in 17s
Documentation / Build and Deploy Documentation (push) Successful in 42s
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m53s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 5m20s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 17m15s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 15m43s
Release Docker Image / merge (push) Successful in 22s
fix: Resolve Clippy CI failures from elided lifetime warnings
The latest Rust nightly compiler (2025-08-27) introduced the
elided-named-lifetimes lint which causes Clippy CI checks to fail
when an elided lifetime ('_) resolves to a named lifetime that's
already in scope.

This commit fixes the Clippy warnings by:
- Making lifetime relationships explicit where 'a is already in scope
- Keeping elided lifetimes ('_) in functions without explicit
  lifetime parameters
- Ensuring proper lifetime handling in the database pool module

Affected files (17 total):
- Database map modules: Handle, Key, and KeyVal references in get,
  qry, keys, and stream operations
- Database pool module: into_recv_seek function

This change resolves the CI build failures without changing any
functionality, ensuring the codebase remains compatible with the
latest nightly Clippy checks.
2025-08-28 21:13:19 +01:00
..
engine refactor: Replace remaining std Mutexes 2025-07-20 16:32:48 +01:00
map fix: Resolve Clippy CI failures from elided lifetime warnings 2025-08-28 21:13:19 +01:00
pool run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
stream run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
benches.rs add stub for database benches 2025-03-29 01:06:39 +00:00
Cargo.toml chore: Update rocksdb, feature flag changes 2025-07-24 21:51:52 +01:00
cork.rs apply new rustfmt.toml changes, fix some clippy lints 2024-12-15 01:00:41 -05:00
de.rs fix edition 2024 lints 2025-02-27 10:26:45 -05:00
deserialized.rs rename conduit to conduwuit finally 2024-12-14 22:24:45 -05:00
engine.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
handle.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
keyval.rs run cargo fix for rust 2024 changes and rustfmt 2025-02-23 01:17:45 -05:00
map.rs add Map::clear() to db interface 2025-03-26 01:33:41 +00:00
maps.rs feat: ldap login 2025-08-23 19:59:36 +00:00
mod.rs workaround some large type name length issues 2025-03-31 03:00:53 +00:00
pool.rs fix: Resolve Clippy CI failures from elided lifetime warnings 2025-08-28 21:13:19 +01:00
ser.rs fix edition 2024 lints 2025-02-27 10:26:45 -05:00
stream.rs fix edition 2024 lints 2025-02-27 10:26:45 -05:00
tests.rs chore: Add reasons for test skips 2025-08-28 20:10:05 +01:00
util.rs integrate some std io error kinds with our status code abstraction 2025-01-01 23:28:01 -05:00
watchers.rs refactor: Replace std RwLock with parking_lot 2025-07-20 16:31:55 +01:00