Skip to content

Commit d48293c

Browse files
authored
Fixed unused warning.
1 parent 76c6c5e commit d48293c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/slugger.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ defmodule Slugger do
125125
"hello-w"
126126
"""
127127
def truncate_slug(slug, max_length, options \\ [])
128-
def truncate_slug(slug, max_length, options) when max_length < 1, do: ""
128+
def truncate_slug(_slug, max_length, _options) when max_length < 1, do: ""
129129
def truncate_slug(slug, max_length, options) do
130130
options = Keyword.merge(@truncation_defaults, options)
131131
slug

0 commit comments

Comments
 (0)