Skip to content

Commit fd4da55

Browse files
AlexStocksOmX
andcommitted
style(scan): satisfy rustfmt gate
Apply the rustfmt-preferred multiline layout for the SCAN type-filter guard so the rebased SCAN branch clears the cargo fmt gate without changing behavior. Constraint: Limit this follow-up to the formatting-only rewrite in storage_scan.rs on PR #379. Confidence: High; local cargo fmt --all -- --check is green after the change. Scope-risk: Formatting only; no runtime behavior change. Tested: WSL cargo fmt --all -- --check; git diff --check. Not-tested: full remote CI rerun is pending after this follow-up push. Co-authored-by: OmX <omx@oh-my-codex.dev>
1 parent 82eb2f3 commit fd4da55

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/storage/src/storage_scan.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ impl Redis {
151151
if !is_live {
152152
continue;
153153
}
154-
if let Some(wanted) = type_filter && data_type != wanted {
154+
if let Some(wanted) = type_filter
155+
&& data_type != wanted
156+
{
155157
continue;
156158
}
157159
if pattern != b"*" && !glob_match_bytes(pattern, base_key.key()) {

0 commit comments

Comments
 (0)