docs: fix typos in docs (#2045)

* docs: fix typos in docs

* up

* up
This commit is contained in:
Donn Pawelek
2025-07-29 17:01:22 +02:00
committed by GitHub
parent fce54cbba8
commit 02eda40bba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create a client to use:
let api = OnlineClient::<PolkadotConfig>::new().await?;
// A dynamic query to obtain some contant:
// A dynamic query to obtain some constant:
let constant_query = subxt::dynamic::constant("System", "BlockLength");
// Obtain the value:
+1 -1
View File
@@ -9,7 +9,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create a client to use:
let api = OnlineClient::<PolkadotConfig>::new().await?;
// A query to obtain some contant:
// A query to obtain some constant:
let constant_query = polkadot::constants().system().block_length();
// Obtain the value: