diff --git a/src/enhanced_transactions.rs b/src/enhanced_transactions.rs index a67d047..e0a2d3a 100644 --- a/src/enhanced_transactions.rs +++ b/src/enhanced_transactions.rs @@ -28,10 +28,10 @@ impl Helius { } /// Retrieves a parsed transaction history for a specific address - /// + /// /// # Arguments /// * `address` - An address for which a given parsed transaction history will be retrieved - /// + /// /// # Returns /// A `Result` wrapping a vector of `EnhancedTransaction`s pub async fn parsed_transaction_history(&self, address: &str) -> Result> { diff --git a/src/utils/deserialize_str_to_number.rs b/src/utils/deserialize_str_to_number.rs index cd65cb5..9dbc754 100644 --- a/src/utils/deserialize_str_to_number.rs +++ b/src/utils/deserialize_str_to_number.rs @@ -3,10 +3,10 @@ use serde::{Deserialize, Deserializer}; use serde_json::{Number, Value}; /// Deserializes a `String` to a `Number` -/// +/// /// # Arguments /// * `deserializer` - The deserializer instance from which to read the JSON value -/// +/// /// # Returns a `Result` that is: /// - `Ok(Number)` when the input is either a valid `Number` string or a JSON `Number` /// - `Err(D::Error)` when there's an error from the deserializer if the input is neither a stringified number nor a direct `Number`, diff --git a/src/utils/is_valid_solana_address.rs b/src/utils/is_valid_solana_address.rs index 4c5fe7a..606d55d 100644 --- a/src/utils/is_valid_solana_address.rs +++ b/src/utils/is_valid_solana_address.rs @@ -2,10 +2,10 @@ use solana_sdk::pubkey::Pubkey; use std::str::FromStr; /// Checks whether a given string slice is a valid Solana address -/// +/// /// # Arguments /// * `address` - A string slice representing an address to validate -/// +/// /// # Returns /// `true` if the input is a valid Solana address based on the following criteria: /// - Have a length between 32 and 44 characters, inclusive