We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f72bc0 commit 6141683Copy full SHA for 6141683
tmc-client/src/lib.rs
@@ -5,7 +5,7 @@
5
//! ```rust,no_run
6
//! use tmc_client::TmcClient;
7
//!
8
-//! let mut client = TmcClient::new_in_config("https://tmc.mooc.fi".to_string(), "some_client".to_string(), "some_version".to_string()).unwrap();
+//! let mut client = TmcClient::new("https://tmc.mooc.fi".parse().unwrap(), "some_client".to_string(), "some_version".to_string());
9
//! client.authenticate("client_name", "email".to_string(), "password".to_string());
10
//! let organizations = client.get_organizations();
11
//! ```
0 commit comments