Skip to content

Commit

Permalink
misc. syntax warming fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
weswalla committed Jun 30, 2024
1 parent 21db785 commit 90f0dda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/datetime_queries/fetch_by_hour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl FetchByHour {
WasmError: From<E>,
{
let path = hour_path_from_date(link_type, base_component.clone(), year, month, day, hour)?;
let mut input = GetLinksInputBuilder::try_new(path.path_entry_hash()?, link_type_filter)?;
let input = GetLinksInputBuilder::try_new(path.path_entry_hash()?, link_type_filter)?;
let links = get_links(input.build())?;

let entries: Vec<WireRecord<EntryType>> = links
Expand Down
1 change: 0 additions & 1 deletion src/retrieval/get_latest_for_entry.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use hash_type::{AnyDht, AnyLinkable};
use hdk::prelude::*;

use crate::{datetime_queries::utils::serialize_err, retrieval::utils::*, wire_record::WireRecord};
Expand Down

0 comments on commit 90f0dda

Please sign in to comment.