mirror of
https://github.com/openharmony/third_party_rust_http.git
synced 2026-07-19 14:43:33 -04:00
fix docs for response::Builder::status()
This commit is contained in:
+2
-2
@@ -500,12 +500,12 @@ impl Builder {
|
||||
Builder::default()
|
||||
}
|
||||
|
||||
/// Set the HTTP method for this response.
|
||||
/// Set the HTTP status for this response.
|
||||
///
|
||||
/// This function will configure the HTTP status code of the `Response` that
|
||||
/// will be returned from `Builder::build`.
|
||||
///
|
||||
/// By default this is `GET`.
|
||||
/// By default this is `200`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user