diff --git a/core/src/custom_values/custom_value_address.rs b/core/src/custom_values/custom_value_address.rs index dc73d15798..0ba6c47836 100644 --- a/core/src/custom_values/custom_value_address.rs +++ b/core/src/custom_values/custom_value_address.rs @@ -4,7 +4,7 @@ use crate::dynamic::DecodedValueThunk; use crate::metadata::DecodeWithMetadata; use crate::utils::Yes; -/// This represents the address of a custom value in in the metadata. +/// This represents the address of a custom value in the metadata. /// Anything, that implements the [CustomValueAddress] trait can be used, to fetch /// custom values from the metadata. /// The trait is implemented by [str] for dynamic loopup and [StaticAddress] for static queries. diff --git a/subxt/src/utils/mod.rs b/subxt/src/utils/mod.rs index 0bf2c35689..08ae07ca33 100644 --- a/subxt/src/utils/mod.rs +++ b/subxt/src/utils/mod.rs @@ -21,7 +21,7 @@ cfg_jsonrpsee! { /// A URL is considered secure if it uses a secure scheme ("https" or "wss") or is referring to localhost. /// -/// Returns an error if the the string could not be parsed into a URL. +/// Returns an error if the string could not be parsed into a URL. pub fn url_is_secure(url: &str) -> Result { let url = Url::parse(url).map_err(|e| Error::Rpc(RpcError::ClientError(Box::new(e))))?;