chore: fix some comments (#1697)

Signed-off-by: shangchengbabaiban <shuang.cui@live.cn>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
This commit is contained in:
shangchengbabaiban
2024-07-30 01:45:37 +09:00
committed by GitHub
parent 14818fc12a
commit 9fbabd01ad
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ fn codegen(
codegen.add_derives_for_type(ty, std::iter::once(derive), d.recursive); codegen.add_derives_for_type(ty, std::iter::once(derive), d.recursive);
} }
// Configure attribtues: // Configure attributes:
let universal_attributes = raw_attributes let universal_attributes = raw_attributes
.iter() .iter()
.map(|raw| syn::parse_str(raw)) .map(|raw| syn::parse_str(raw))
+1 -1
View File
@@ -24,7 +24,7 @@ use subxt_metadata::RuntimeApiMetadata;
/// None => Show pallet docs + available methods /// None => Show pallet docs + available methods
/// Some (invalid) => Show Error + available methods /// Some (invalid) => Show Error + available methods
/// Some (valid) => Show method docs + output type description /// Some (valid) => Show method docs + output type description
/// exectute is: /// execute is:
/// false => Show input type description + Example Value /// false => Show input type description + Example Value
/// true => validate (trailing args + build node connection) /// true => validate (trailing args + build node connection)
/// validation is: /// validation is:
+1 -1
View File
@@ -2,7 +2,7 @@
// This file is dual-licensed as Apache-2.0 or GPL-3.0. // This file is dual-licensed as Apache-2.0 or GPL-3.0.
// see LICENSE for license details. // see LICENSE for license details.
//! `AccountId20` is a repressentation of Ethereum address derived from hashing the public key. //! `AccountId20` is a representation of Ethereum address derived from hashing the public key.
use core::fmt::Display; use core::fmt::Display;
+1 -1
View File
@@ -83,7 +83,7 @@ for CRATE_DIR in ${ORDER[@]}; do
sleep 3 sleep 3
remote_version remote_version
if [ "$REMOTE_VERSION" = "$VERSION" ]; then if [ "$REMOTE_VERSION" = "$VERSION" ]; then
echo "🥳 $NAME@$VERSION published succesfully." echo "🥳 $NAME@$VERSION published successfully."
sleep 3 sleep 3
break break
else else