Skip to content

Commit

Permalink
appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dicej committed Dec 24, 2024
1 parent cf2faa5 commit 8c6e7f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//! * [images]: Container for viewing and interacting with media item previews
//!
//! * [image_overlay]: Overlay for viewing one high resolution media item at a time and browsing items sequentially
//! (e.g. a lightbox)
//! (e.g. a lightbox)
//!
//! Additionally, there is the [client] module, which provides an API for communicating with the Tagger server.
//!
Expand Down Expand Up @@ -236,10 +236,10 @@ pub struct State {
/// This will do all of the following:
///
/// * Attempt to authenticate with the Tagger server (which is assumed to be the same as the host from which the
/// app was loaded)
/// app was loaded)
///
/// * Instantiate and wire up the reactive state for this app, using the "hash" portion of the URI to decode
/// routing state, if present
/// routing state, if present
///
/// * Bind handlers for global keyboard events
///
Expand Down
4 changes: 2 additions & 2 deletions client/src/tag_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ pub enum List<T> {
/// For example, if the current filter is "year:2017 and state:hawaii", and some of the matching items also have
/// tags like "city:honolulu" and "city:kailua-kona", then "city" would be one of the categories we'd return here,
/// but "year" and "state" would not be since we're already filtering by those categories.
fn find_categories<'a>(
fn find_categories(
filter_chain: &List<Tag>,
categories: &'a HashMap<Arc<str>, TagsResponse>,
categories: &HashMap<Arc<str>, TagsResponse>,
result: &mut Vec<Arc<str>>,
) {
for (category, tags) in categories {
Expand Down

0 comments on commit 8c6e7f9

Please sign in to comment.