   end
 
   defp color_key(atom) when is_boolean(atom), do: :boolean
-  defp color_key(nil), do: :nil
+  defp color_key(nil), do: nil
   defp color_key(_), do: :atom
 end
 

  end

  defp each_bit(<<h, t::bitstring>>, counter, opts) do
    flex_glue(concat(Inspect.Integer.inspect(h, opts), ","),
              each_bit(t, decrement(counter), opts))
  end

  defp each_bit(bitstring, _counter, opts) do


  @compile {:inline, decrement: 1}
  defp decrement(:infinity), do: :infinity
  defp decrement(counter), do: counter - 1
end

defimpl Inspect, for: List do
