Skip to content

Commit

Permalink
Fix invalid feature name in lib.rs doc comment. (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethiraric authored Jun 28, 2024
1 parent b0cb27c commit c0e2409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
//! like this:
//!
//! ```no_run
//! # #[cfg(feature = "refreshing-login")] {
//! # #[cfg(feature = "__refreshing-token")] {
//! use async_trait::async_trait;
//! use twitch_irc::login::{RefreshingLoginCredentials, TokenStorage, UserAccessToken};
//! use twitch_irc::ClientConfig;
Expand Down Expand Up @@ -173,7 +173,7 @@
//! let client_secret = "m6nuam2b2zgn2fw8actt8hwdummz1g".to_owned();
//! let storage = CustomTokenStorage { /* ... */ };
//!
//! let credentials = RefreshingLoginCredentials::new(client_id, client_secret, storage);
//! let credentials = RefreshingLoginCredentials::init(client_id, client_secret, storage);
//! // It is also possible to use the same credentials in other places
//! // such as API calls by cloning them.
//! let config = ClientConfig::new_simple(credentials);
Expand Down

0 comments on commit c0e2409

Please sign in to comment.