Skip to content

Commit

Permalink
Fix some documentation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-pease authored and LeonardTibben committed Jul 11, 2024
1 parent 78a32dd commit 092d375
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stellar_rust_sdk/src/effects/effects_for_ledger_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use stellar_rust_sdk_derive::Pagination;
/// # use stellar_rs::Paginatable;
///
/// let mut request = EffectsForLedgerRequest::new()
/// .set_sequence(1000)
/// .set_sequence(&1000)
/// .set_limit(2);
///
/// // The request is now ready to be used with a Horizon client to fetch effects for the specified ledger.
Expand Down
2 changes: 1 addition & 1 deletion stellar_rust_sdk/src/horizon_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ impl HorizonClient {
/// # let base_url = "https://horizon-testnet.stellar.org".to_string();
/// # let horizon_client = HorizonClient::new(base_url)?;
/// let mut request = EffectsForLedgerRequest::new()
/// .set_sequence(125)
/// .set_sequence(&125)
/// .set_limit(2).unwrap();
///
/// let response = horizon_client.get_effects_for_ledger(&request).await;
Expand Down

0 comments on commit 092d375

Please sign in to comment.