 
   defp bitstring_to_algebra(meta, args, state) do
     last = length(args) - 1
-    join = if Keyword.get(meta, :eol, false), do: :line, else: :flex_break
+    join = if eol?(meta), do: :line, else: :flex_break
     to_algebra_fun = &bitstring_segment_to_algebra(&1, &2, last)
 
     {args_doc, join, state} =

        true ->
          next_break_fits? =
            op in @next_break_fits_operators and next_break_fits?(right_arg, state) and
              not Keyword.get(meta, :eol, false)

          with_next_break_fits(next_break_fits?, right, fn right ->
            op_string = " " <> op_string

    {docs, comments?, state} =
      quoted_to_algebra_with_comments(operands, [], min_line, max_line, 1, state, fun)

    if comments? or eol?(meta) do
      {docs |> Enum.reduce(&line(&2, &1)) |> force_unfit(), state}
    else
      {docs |> Enum.reduce(&glue(&2, &1)), state}
