Skip to content

Commit 7c3ae97

Browse files
committed
fixed merge issue
1 parent 14acf0a commit 7c3ae97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tmc-langs-core/src/tmc_core.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ impl TmcCore {
243243
/// # Examples
244244
/// ```rust,no_run
245245
/// use tmc_langs_core::TmcCore;
246-
/// use std::path::Path;
246+
/// use std::path::PathBuf;
247247
///
248248
/// let core = TmcCore::new_in_config("https://tmc.mooc.fi".to_string(), "some_client".to_string(), "some_version".to_string()).unwrap();
249249
/// // authenticate
250250
/// core.download_or_update_exercises(vec![
251-
/// (1234, Path::new("./exercises/1234")),
252-
/// (2345, Path::new("./exercises/2345")),
251+
/// (1234, PathBuf::from("./exercises/1234")),
252+
/// (2345, PathBuf::from("./exercises/2345")),
253253
/// ]);
254254
/// ```
255255
pub fn download_or_update_exercises(

0 commit comments

Comments
 (0)