From e25bcf066c12470c996c62f024c5df67ea080523 Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Thu, 16 Jan 2025 14:10:56 -0500 Subject: [PATCH] fix typo Co-authored-by: Eric Swanson <64809312+ericswanson-dfinity@users.noreply.github.com> --- ic-cdk/src/call.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ic-cdk/src/call.rs b/ic-cdk/src/call.rs index 94636b68..bd924568 100644 --- a/ic-cdk/src/call.rs +++ b/ic-cdk/src/call.rs @@ -104,7 +104,7 @@ pub struct CallRejected { // All fields are private so we will be able to change the implementation without breaking the API. // Once we have `ic0.msg_error_code` system API, we will only store the error_code in this struct. // It will still be possible to get the [`RejectCode`] using the public getter, - // becuase every error_code can map to a [`RejectCode`]. + // because every error_code can map to a [`RejectCode`]. reject_code: RejectCode, reject_message: String, sync: bool,