Fix warning

This commit is contained in:
Marcel Otto 2019-04-29 20:45:06 +02:00
parent a1e4049cba
commit 9587b1fd08

View file

@ -134,7 +134,7 @@ defmodule RDF.Decimal do
@doc """
The number of digits to the right of the decimal point in the XML Schema canonical form of the literal value.
"""
def fraction_digit_count(%RDF.Literal{datatype: @id, value: value} = literal) do
def fraction_digit_count(%RDF.Literal{datatype: @id} = literal) do
if valid?(literal) do
[_, fraction] =
literal