Skip to content

Commit

Permalink
fix(rust): fix BaseHTTPClient doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Oct 17, 2024
1 parent 4cefd9b commit cb072d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/agama-lib/src/base_http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use crate::{auth::AuthToken, error::ServiceError};
/// use agama_lib::error::ServiceError;
///
/// async fn get_questions() -> Result<Vec<Question>, ServiceError> {
/// let client = BaseHTTPClient::new()?;
/// let client = BaseHTTPClient::default();
/// client.get("/questions").await
/// }
/// ```
Expand Down

0 comments on commit cb072d1

Please sign in to comment.