Skip to content

Commit 170f451

Browse files
committed
Fix misc doc comments
1 parent 7751483 commit 170f451

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

rust/src/project.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl Project {
187187
/// * `path` - Path to folder on disk
188188
/// * `parent` - Parent folder in the project that will contain the new contents
189189
/// * `description` - Description for created root folder
190-
/// * `progress` - [`ProgressExecutor`] that will be called as the [`ProjectFolder`] is being created
190+
/// * `progress` - [`ProgressCallback`] that will be called as the [`ProjectFolder`] is being created
191191
pub fn create_folder_from_path_with_progress<P, D, PC>(
192192
&self,
193193
path: P,
@@ -310,7 +310,7 @@ impl Project {
310310
/// Recursively delete a [`ProjectFolder`] from the [`Project`].
311311
///
312312
/// * `folder` - [`ProjectFolder`] to delete recursively
313-
/// * `progress` - [`ProgressExecutor`] that will be called as objects get deleted
313+
/// * `progress` - [`ProgressCallback`] that will be called as objects get deleted
314314
pub fn delete_folder_with_progress<P: ProgressCallback>(
315315
&self,
316316
folder: &ProjectFolder,
@@ -369,7 +369,7 @@ impl Project {
369369
/// * `folder` - Folder to place the created file in
370370
/// * `name` - Name to assign to the created file
371371
/// * `description` - Description to assign to the created file
372-
/// * `progress` - [`ProgressExecutor`] that will be called as the [`ProjectFile`] is being added
372+
/// * `progress` - [`ProgressCallback`] that will be called as the [`ProjectFile`] is being added
373373
pub fn create_file_from_path_with_progress<P, N, D, PC>(
374374
&self,
375375
path: P,
@@ -445,7 +445,7 @@ impl Project {
445445
/// * `description` - Description to assign to the created file
446446
/// * `id` - id unique ID
447447
/// * `creation_time` - Creation time of the file
448-
/// * `progress` - [`ProgressExecutor`] that will be called as the [`ProjectFile`] is being created
448+
/// * `progress` - [`ProgressCallback`] that will be called as the [`ProjectFile`] is being created
449449
#[allow(clippy::too_many_arguments)]
450450
pub unsafe fn create_file_from_path_unsafe_with_progress<P, N, D, I, PC>(
451451
&self,
@@ -512,7 +512,7 @@ impl Project {
512512
/// * `folder` - Folder to place the created file in
513513
/// * `name` - Name to assign to the created file
514514
/// * `description` - Description to assign to the created file
515-
/// * `progress` - [`ProgressExecutor`] that will be called as the [`ProjectFile`] is being created
515+
/// * `progress` - [`ProgressCallback`] that will be called as the [`ProjectFile`] is being created
516516
pub fn create_file_with_progress<N, D, P>(
517517
&self,
518518
contents: &[u8],
@@ -586,7 +586,7 @@ impl Project {
586586
/// * `description` - Description to assign to the created file
587587
/// * `id` - id unique ID
588588
/// * `creation_time` - Creation time of the file
589-
/// * `progress` - [`ProgressExecutor`] that will be called as the [`ProjectFile`] is being created
589+
/// * `progress` - [`ProgressCallback`] that will be called as the [`ProjectFile`] is being created
590590
#[allow(clippy::too_many_arguments)]
591591
pub unsafe fn create_file_unsafe_with_progress<N, D, I, P>(
592592
&self,

rust/src/project/folder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl ProjectFolder {
9696
/// Recursively export this folder to disk, returns `true' if the export succeeded
9797
///
9898
/// * `dest` - Destination path for the exported contents
99-
/// * `progress` - [`ProgressExecutor`] that will be called as contents are exporting
99+
/// * `progress` - [`ProgressCallback`] that will be called as contents are exporting
100100
pub fn export_with_progress<S, P>(&self, dest: S, mut progress: P) -> bool
101101
where
102102
S: BnStrCompatible,

0 commit comments

Comments
 (0)