fix: clippy warnings
All checks were successful
Release / Build and Release (push) Successful in 6s
Continuous Integration / Lint, Check & Test (push) Successful in 1m26s
Continuous Integration / Build Package (push) Successful in 1m36s

This commit is contained in:
Konstantin Fickel 2026-04-07 13:43:40 +02:00
parent 5dca68037d
commit e562af0dc3
Signed by: kfickel
GPG key ID: A793722F9933C1A5
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,8 @@ cargo clippy # Lint
cargo fmt # Format cargo fmt # Format
``` ```
After finishing tests, always check the package with `nix flake check`.
## Architecture ## Architecture
Streamd parses markdown files into hierarchical **Shards**, then **localizes** them by assigning temporal moments and dimensional placements based on `@Tag` markers. Streamd parses markdown files into hierarchical **Shards**, then **localizes** them by assigning temporal moments and dimensional placements based on `@Tag` markers.

View file

@ -146,7 +146,7 @@ pub fn extract_datetime_from_marker_list(
}; };
let naive = NaiveDateTime::new(final_date, final_time); let naive = NaiveDateTime::new(final_date, final_time);
naive_to_utc(naive, tz).unwrap_or_else(|| inherited_datetime) naive_to_utc(naive, tz).unwrap_or(inherited_datetime)
} }
#[cfg(test)] #[cfg(test)]