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 d76d692 commit 381e013Copy full SHA for 381e013
tmc-langs-core/src/tmc_core.rs
@@ -284,10 +284,10 @@ impl TmcCore {
284
/// let course_details = core.get_course_details(600).unwrap();
285
/// let submission_url = &course_details.exercises[0].return_url;
286
/// let submission_url = Url::parse(&submission_url).unwrap();
287
- /// let new_submission = core.paste_with_comment(
+ /// let new_submission = core.paste(
288
/// submission_url,
289
/// Path::new("./exercises/python/123"),
290
- /// "my python solution".to_string(),
+ /// Some("my python solution".to_string()),
291
/// Language::Eng).unwrap();
292
/// ```
293
pub fn paste(
0 commit comments