浏览代码

Typo in comment

febo 10 月之前
父节点
当前提交
14925dc134
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      p-token/src/processor/shared/transfer.rs

+ 3 - 2
p-token/src/processor/shared/transfer.rs

@@ -87,8 +87,9 @@ pub fn process_transfer(
         }
     }
 
-    // Comparing whether the `AccountInfo`s "point" to the same acount - this
-    // is a faster comparison since it just checks the internal raw pointer.
+    // Comparing whether the AccountInfo's "point" to the same account or
+    // not - this is a faster comparison since it just checks the internal
+    // raw pointer.
     let self_transfer = source_account_info == destination_account_info;
 
     // Validates the authority (delegate or owner).