Skip to content

Commit f993257

Browse files
committed
fix: Fix the ex_doc warning caused by Guardian.Permissions
When I use Guardian.Permissions in my module and try to use `mix ex_doc` to generate documents, I encountered a warning: ``` warning: Closing unclosed backquotes ` at end of input. ``` After troubleshooting, I found it's caused by line 185 of `Guardian.Permissions` This commit fixes this doc typo
1 parent 4e7db97 commit f993257

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/guardian/permissions.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ defmodule Guardian.Permissions do
181181

182182
@doc """
183183
Decodes permissions directly from a claims map. This does the same as `decode_permissions` but
184-
will fetch the permissions map from the `"pem"` key where `Guardian.Permissions places them
184+
will fetch the permissions map from the `"pem"` key where `Guardian.Permissions` places them
185185
when it encodes them into claims.
186186
"""
187187
@spec decode_permissions_from_claims(Guardian.Token.claims()) :: Guardian.Permissions.t()

0 commit comments

Comments
 (0)