Skip to content

Commit

Permalink
Fix Doc Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0xIchigo committed May 8, 2024
1 parent 2d81ce6 commit 672e4e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ impl Helius {
///
/// # Example
/// ```rust
/// use helius_sdk::client::Helius;
/// use helius_sdk::types::Cluster;
/// use helius::client::Helius;
/// use helius::types::Cluster;
///
/// let helius = Helius::new("your_api_key", Cluster::Devnet).expect("Failed to create a Helius client");
/// ```
Expand Down
8 changes: 4 additions & 4 deletions src/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl HeliusFactory {
///
/// # Example
/// ```rust
/// use helius_sdk::HeliusFactory;
/// use helius::HeliusFactory;
/// let factory = HeliusFactory::new("your_api_key_here");
/// ```
pub fn new(api_key: &str) -> Self {
Expand All @@ -46,9 +46,9 @@ impl HeliusFactory {
///
/// # Example
/// ```rust
/// use helius_sdk::types::*;
/// use helius_sdk::client::Helius;
/// use helius_sdk::factory::HeliusFactory;
/// use helius::types::*;
/// use helius::client::Helius;
/// use helius::factory::HeliusFactory;
///
/// #[tokio::main]
/// async fn main() {
Expand Down

0 comments on commit 672e4e6

Please sign in to comment.