samsondav / rihanna

Rihanna is a high performance postgres-backed job queue for Elixir
MIT License
439 stars 49 forks source link

Warnings on 1.11.4 #102

Closed tpitale closed 1 year ago

tpitale commented 3 years ago
warning: redefining @doc attribute previously set at line 54.

Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head:

    @doc """
    new docs
    """
    def enqueue(...)

  lib/rihanna.ex:70: Rihanna.enqueue/2

warning: redefining @doc attribute previously set at line 54.

Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head:

    @doc """
    new docs
    """
    def enqueue(...)

  lib/rihanna.ex:91: Rihanna.enqueue/2

Pretty minor, but I'll try to send a PR to fix.