Skip to content

Commit 38fd4ad

Browse files
R0DR160HMlpil
authored andcommitted
Editting request documentation
1 parent a8ad23d commit 38fd4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gleam/http/request.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pub fn set_scheme(req: Request(body), scheme: Scheme) -> Request(body) {
231231
Request(..req, scheme: scheme)
232232
}
233233

234-
/// Set the method of the request.
234+
/// Set the host of the request.
235235
///
236236
pub fn set_host(req: Request(body), host: String) -> Request(body) {
237237
Request(..req, host: host)

0 commit comments

Comments
 (0)