fix(clippy): use ok_or instead of ok_or_else for plain HttpError values #43

Merged
YousifShkara merged 1 commit from fix/clippy-sessions-ok-or into main 2026-05-22 08:25:31 +02:00
Owner

CI's -D warnings tripped on two unnecessary_lazy_evaluations in sessions.rs where the None substitute is a plain constructor call, not a deferred computation. Switch both call sites to ok_or so clippy passes under the workspace's deny-warnings policy.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

CI's -D warnings tripped on two unnecessary_lazy_evaluations in sessions.rs where the None substitute is a plain constructor call, not a deferred computation. Switch both call sites to ok_or so clippy passes under the workspace's deny-warnings policy. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fix(clippy): use ok_or instead of ok_or_else for plain HttpError values
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt + clippy + compile + tests (pull_request) Successful in 30s
1f83ca51ef
CI's -D warnings tripped on two unnecessary_lazy_evaluations in sessions.rs where the None substitute is a plain constructor call, not a deferred computation. Switch both call sites to ok_or so clippy passes under the workspace's deny-warnings policy.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
YousifShkara deleted branch fix/clippy-sessions-ok-or 2026-05-22 08:25:31 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!43
No description provided.