Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Aug 27, 2021
1 parent 8d646a2 commit d88ba99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/helix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ pub mod teams;
pub mod users;
pub mod videos;


pub(crate) mod ser;
pub(crate) use crate::deserialize_default_from_null;
use crate::{parse_json, parse_json_value};
Expand Down
4 changes: 3 additions & 1 deletion src/helix/search/search_categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ impl RequestGet for SearchCategoriesRequest<'_> {
}

impl helix::Paginated for SearchCategoriesRequest<'_> {
fn set_pagination(&mut self, cursor: Option<helix::Cursor>) { self.after = cursor.map(Cow::Owned) }
fn set_pagination(&mut self, cursor: Option<helix::Cursor>) {
self.after = cursor.map(Cow::Owned)
}
}

#[cfg(test)]
Expand Down

0 comments on commit d88ba99

Please sign in to comment.