Skip to content

Commit

Permalink
fixed reurn type
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartjohnpage committed Feb 27, 2024
1 parent 927c6ff commit 370b4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chunker/strategies/recursive_chunk/recursive_chunk.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Chunker.Strategies.RecursiveChunk do
require Logger

@impl true
@spec split(binary(), keyword()) :: [binary()]
@spec split(binary(), keyword()) :: [Chunk.t()]
@doc """
Splits the given text into chunks using a recursive strategy. Prioritizes compliance
with the configured `chunk_size` as a maximum, while aiming to maintain `chunk_overlap` for
Expand Down

0 comments on commit 370b4b0

Please sign in to comment.