Skip to content

Commit

Permalink
docs: fix spelling in code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Feb 21, 2024
1 parent 361e3b5 commit b45ceef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bindings/c/include/opendal.h
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ struct opendal_error *opendal_operator_create_dir(const struct opendal_operator
*
* assert(error == NULL);
*
* // now you can renmae!
* // now you can rename!
* opendal_error *error = opendal_operator_rename(op, "/testpath", "/testpath2");
*
* // Assert that this succeeds
Expand Down Expand Up @@ -1270,7 +1270,7 @@ struct opendal_error *opendal_operator_rename(const struct opendal_operator *op,
*
* assert(error == NULL);
*
* // now you can renmae!
* // now you can rename!
* opendal_error *error = opendal_operator_copy(op, "/testpath", "/testpath2");
*
* // Assert that this succeeds
Expand Down
4 changes: 2 additions & 2 deletions bindings/c/src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ pub unsafe extern "C" fn opendal_operator_create_dir(
///
/// assert(error == NULL);
///
/// // now you can renmae!
/// // now you can rename!
/// opendal_error *error = opendal_operator_rename(op, "/testpath", "/testpath2");
///
/// // Assert that this succeeds
Expand Down Expand Up @@ -765,7 +765,7 @@ pub unsafe extern "C" fn opendal_operator_rename(
///
/// assert(error == NULL);
///
/// // now you can renmae!
/// // now you can rename!
/// opendal_error *error = opendal_operator_copy(op, "/testpath", "/testpath2");
///
/// // Assert that this succeeds
Expand Down

0 comments on commit b45ceef

Please sign in to comment.