Skip to content

Commit 8c6e7f9

Browse files
committed
appease clippy
1 parent cf2faa5 commit 8c6e7f9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

client/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! * [images]: Container for viewing and interacting with media item previews
1616
//!
1717
//! * [image_overlay]: Overlay for viewing one high resolution media item at a time and browsing items sequentially
18-
//! (e.g. a lightbox)
18+
//! (e.g. a lightbox)
1919
//!
2020
//! Additionally, there is the [client] module, which provides an API for communicating with the Tagger server.
2121
//!
@@ -236,10 +236,10 @@ pub struct State {
236236
/// This will do all of the following:
237237
///
238238
/// * Attempt to authenticate with the Tagger server (which is assumed to be the same as the host from which the
239-
/// app was loaded)
239+
/// app was loaded)
240240
///
241241
/// * Instantiate and wire up the reactive state for this app, using the "hash" portion of the URI to decode
242-
/// routing state, if present
242+
/// routing state, if present
243243
///
244244
/// * Bind handlers for global keyboard events
245245
///

client/src/tag_menu.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ pub enum List<T> {
3030
/// For example, if the current filter is "year:2017 and state:hawaii", and some of the matching items also have
3131
/// tags like "city:honolulu" and "city:kailua-kona", then "city" would be one of the categories we'd return here,
3232
/// but "year" and "state" would not be since we're already filtering by those categories.
33-
fn find_categories<'a>(
33+
fn find_categories(
3434
filter_chain: &List<Tag>,
35-
categories: &'a HashMap<Arc<str>, TagsResponse>,
35+
categories: &HashMap<Arc<str>, TagsResponse>,
3636
result: &mut Vec<Arc<str>>,
3737
) {
3838
for (category, tags) in categories {

0 commit comments

Comments
 (0)