Skip to content

Commit 6141683

Browse files
committed
fixed tests
1 parent 5f72bc0 commit 6141683

File tree

3 files changed

+112
-456
lines changed

3 files changed

+112
-456
lines changed

tmc-client/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! ```rust,no_run
66
//! use tmc_client::TmcClient;
77
//!
8-
//! let mut client = TmcClient::new_in_config("https://tmc.mooc.fi".to_string(), "some_client".to_string(), "some_version".to_string()).unwrap();
8+
//! let mut client = TmcClient::new("https://tmc.mooc.fi".parse().unwrap(), "some_client".to_string(), "some_version".to_string());
99
//! client.authenticate("client_name", "email".to_string(), "password".to_string());
1010
//! let organizations = client.get_organizations();
1111
//! ```

0 commit comments

Comments
 (0)