Skip to content

Commit 6bace04

Browse files
authored
Fix @doc for bitstring_type?/1 (elixir-lang#15039)
1 parent 4ee0241 commit 6bace04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/module/types/descr.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ defmodule Module.Types.Descr do
852852
def empty_list_type?(_), do: false
853853

854854
@doc """
855-
Optimized version of `not empty?(intersection(binary(), type))`.
855+
Optimized version of `not empty?(intersection(bitstring(), type))`.
856856
"""
857857
def bitstring_type?(:term), do: true
858858
def bitstring_type?(%{dynamic: :term}), do: true

0 commit comments

Comments
 (0)