From c84a7ff857898df5db3b8555a9d64d3c50038474 Mon Sep 17 00:00:00 2001 From: Xeonacid Date: Wed, 1 Jan 2025 00:32:25 +0800 Subject: [PATCH] [examples] Remove redundant slash (#20713) ## Description Remove redundant slash in the example code comment ## Test plan N/A --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] gRPC: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: --- .../shared-no-tto/sources/shared_cash_register.move | 2 +- .../shared-with-tto/sources/shared_cash_register.move | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/move/transfer-to-object/shared-no-tto/sources/shared_cash_register.move b/examples/move/transfer-to-object/shared-no-tto/sources/shared_cash_register.move index 3fe6b70064c39..776ae267243aa 100644 --- a/examples/move/transfer-to-object/shared-no-tto/sources/shared_cash_register.move +++ b/examples/move/transfer-to-object/shared-no-tto/sources/shared_cash_register.move @@ -76,7 +76,7 @@ public fun update_authorized_individuals( /// Process a payment that has been made, removing it from the register and /// returning the coin that can then be combined or sent elsewhere by the authorized individual. -/// Payments can only be processed by either an account in the / `authorized_individuals` set or by the owner of the cash register. +/// Payments can only be processed by either an account in the `authorized_individuals` set or by the owner of the cash register. public fun process_payment( register: &mut CashRegister, payment_id: u64, diff --git a/examples/move/transfer-to-object/shared-with-tto/sources/shared_cash_register.move b/examples/move/transfer-to-object/shared-with-tto/sources/shared_cash_register.move index 0c039f1494d35..aaa1627dc67a6 100644 --- a/examples/move/transfer-to-object/shared-with-tto/sources/shared_cash_register.move +++ b/examples/move/transfer-to-object/shared-with-tto/sources/shared_cash_register.move @@ -79,7 +79,7 @@ public fun update_authorized_individuals( /// Process a payment that has been made, removing it from the register and /// returning the coin that can then be combined or sent elsewhere by the authorized individual. -/// Payments can only be processed by either an account in the / `authorized_individuals` set or by the owner of the cash register. +/// Payments can only be processed by either an account in the `authorized_individuals` set or by the owner of the cash register. public fun process_payment( register: &mut CashRegister, payment_ticket: Receiving,