Skip to content

Commit d7a6089

Browse files
committed
bitreq: Fix stale rusdocs
Fix a few instances of `s/minreq/bitreq` missed when forking.
1 parent be01458 commit d7a6089

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bitreq/src/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ impl Request {
315315
/// Returns `Err` if we run into an error while sending the
316316
/// request, or receiving/parsing the response. The specific error
317317
/// is described in the `Err`, and it can be any
318-
/// [`minreq::Error`](enum.Error.html) except
318+
/// [`bitreq::Error`](enum.Error.html) except
319319
/// [`InvalidUtf8InBody`](enum.Error.html#variant.InvalidUtf8InBody).
320320
#[cfg(feature = "async")]
321321
pub async fn send_async(self) -> Result<Response, Error> {

bitreq/src/response.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ impl Response {
144144
/// ```no_run
145145
/// use serde_json::Value;
146146
///
147-
/// # fn main() -> Result<(), minreq::Error> {
147+
/// # fn main() -> Result<(), bitreq::Error> {
148148
/// # let url_to_json_resource = "http://example.org/resource.json";
149149
/// // Value could be any type that implements Deserialize!
150-
/// let user = minreq::get(url_to_json_resource).send()?.json::<Value>()?;
150+
/// let user = bitreq::get(url_to_json_resource).send()?.json::<Value>()?;
151151
/// println!("User name is '{}'", user["name"]);
152152
/// # Ok(())
153153
/// # }

0 commit comments

Comments
 (0)