Skip to content

Commit

Permalink
Fix run!/2 specs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jun 19, 2024
1 parent 59f4ea0 commit a7ce008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/req.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ defmodule Req do
** (Req.TransportError) connection refused
"""
@doc type: :request
@spec run(request :: url() | keyword() | Req.Request.t(), options :: keyword()) ::
@spec run!(request :: url() | keyword() | Req.Request.t(), options :: keyword()) ::
{Req.Request.t(), Req.Response.t()}
def run!(request, options \\ []) do
case run(request, options) do
Expand Down

0 comments on commit a7ce008

Please sign in to comment.