diff --git a/bindings/c/include/opendal.h b/bindings/c/include/opendal.h index daf50f169b07..8d76a5ceabf7 100644 --- a/bindings/c/include/opendal.h +++ b/bindings/c/include/opendal.h @@ -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 @@ -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 diff --git a/bindings/c/src/operator.rs b/bindings/c/src/operator.rs index 457670d28e1e..c8fd31b25047 100644 --- a/bindings/c/src/operator.rs +++ b/bindings/c/src/operator.rs @@ -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 @@ -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