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 14acf0a commit 7c3ae97Copy full SHA for 7c3ae97
tmc-langs-core/src/tmc_core.rs
@@ -243,13 +243,13 @@ impl TmcCore {
243
/// # Examples
244
/// ```rust,no_run
245
/// use tmc_langs_core::TmcCore;
246
- /// use std::path::Path;
+ /// use std::path::PathBuf;
247
///
248
/// let core = TmcCore::new_in_config("https://tmc.mooc.fi".to_string(), "some_client".to_string(), "some_version".to_string()).unwrap();
249
/// // authenticate
250
/// core.download_or_update_exercises(vec![
251
- /// (1234, Path::new("./exercises/1234")),
252
- /// (2345, Path::new("./exercises/2345")),
+ /// (1234, PathBuf::from("./exercises/1234")),
+ /// (2345, PathBuf::from("./exercises/2345")),
253
/// ]);
254
/// ```
255
pub fn download_or_update_exercises(
0 commit comments