chore: remove repetitive words (#1519)

Signed-off-by: hanghuge <cmoman@outlook.com>
This commit is contained in:
hanghuge
2024-04-08 14:54:22 +08:00
committed by GitHub
parent 64caba858b
commit 827a35de34
2 changed files with 2 additions and 2 deletions
@@ -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.
+1 -1
View File
@@ -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<bool, Error> {
let url = Url::parse(url).map_err(|e| Error::Rpc(RpcError::ClientError(Box::new(e))))?;