mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
docs:fix spelling issues (#1699)
* Update CHANGELOG.md * Update mod.rs * Update runtime_apis.rs * Update setup_client_custom_rpc.rs * Update subxt/examples/setup_client_custom_rpc.rs Co-authored-by: James Wilson <james@jsdw.me> * Update subxt/examples/setup_client_custom_rpc.rs Co-authored-by: James Wilson <james@jsdw.me> --------- Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
@@ -262,7 +262,7 @@ impl RuntimeGenerator {
|
||||
/// The outer extrinsic enum.
|
||||
pub type Call = #call_path;
|
||||
|
||||
/// The outer error enum representing the DispatchError's Module variant.
|
||||
/// The outer error enum represents the DispatchError's Module variant.
|
||||
pub type Error = #error_path;
|
||||
|
||||
pub fn constants() -> ConstantsApi {
|
||||
|
||||
@@ -22,7 +22,7 @@ fn generate_runtime_api(
|
||||
type_gen: &TypeGenerator,
|
||||
crate_path: &syn::Path,
|
||||
) -> Result<(TokenStream2, TokenStream2), CodegenError> {
|
||||
// Trait name must remain as is (upper case) to identity the runtime call.
|
||||
// Trait name must remain as is (upper case) to identify the runtime call.
|
||||
let trait_name_str = api.name();
|
||||
// The snake case for the trait name.
|
||||
let trait_name_snake = format_ident!("{}", api.name().to_snake_case());
|
||||
|
||||
Reference in New Issue
Block a user