Skip to content

Commit cb614a1

Browse files
EmilgardisNerixyz
andauthored
Apply suggestions from code review
Co-authored-by: nerix <[email protected]>
1 parent ee5f999 commit cb614a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/helix/client/client_ext.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ impl<'client, C: crate::HttpClient + Sync + 'client> HelixClient<'client, C> {
851851
/// use twitch_api::{types, helix};
852852
/// use futures::TryStreamExt;
853853
///
854-
/// let games: Vec<helix::chat::get_emote_sets::Emote> = client.get_emote_sets(&["0"][..].into(), &token).try_collect().await?;
854+
/// let emotes: Vec<helix::chat::get_emote_sets::Emote> = client.get_emote_sets(&["0"][..].into(), &token).try_collect().await?;
855855
/// # Ok(()) }
856856
/// ```
857857
pub fn get_emote_sets<T>(
@@ -1001,7 +1001,7 @@ impl<'client, C: crate::HttpClient + Sync + 'client> HelixClient<'client, C> {
10011001
{
10021002
Ok(self
10031003
.req_get(
1004-
helix::chat::GetUserChatColorRequest::user_ids(&[user_id.into()][..]),
1004+
helix::chat::GetUserChatColorRequest::user_ids(&user_id.into()),
10051005
token,
10061006
)
10071007
.await?
@@ -1023,7 +1023,7 @@ impl<'client, C: crate::HttpClient + Sync + 'client> HelixClient<'client, C> {
10231023
/// use twitch_api::{types, helix};
10241024
/// use futures::TryStreamExt;
10251025
///
1026-
/// let games: Vec<helix::chat::UserChatColor> = client.get_users_chat_colors(&["1234"][..].into(), &token).try_collect().await?;
1026+
/// let colors: Vec<helix::chat::UserChatColor> = client.get_users_chat_colors(&["1234"][..].into(), &token).try_collect().await?;
10271027
/// # Ok(()) }
10281028
/// ```
10291029
pub fn get_users_chat_colors<T>(

0 commit comments

Comments
 (0)