Skip to content

Commit

Permalink
update typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
DeemoONeill committed Jul 27, 2023
1 parent 6f0d382 commit 63d3e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/explorer/series.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4349,7 +4349,7 @@ defmodule Explorer.Series do
>
"""
@doc type: :string_wise
@spec trim(Series.t(), String.t()) :: Series.t()
@spec trim_leading(Series.t(), String.t()) :: Series.t()
def trim_leading(%Series{dtype: :string} = series, string) when is_binary(string),
do: apply_series(series, :trim_leading, [string])

Expand Down Expand Up @@ -4387,7 +4387,7 @@ defmodule Explorer.Series do
>
"""
@doc type: :string_wise
@spec trim_trailing(Series.t()) :: Series.t()
@spec trim_trailing(Series.t(), String.t()) :: Series.t()
def trim_trailing(%Series{dtype: :string} = series, string) when is_binary(string),
do: apply_series(series, :trim_trailing, [string])

Expand Down

0 comments on commit 63d3e96

Please sign in to comment.