Skip to content

Commit 77e2edf

Browse files
committed
fix static assets doc
1 parent 99725e1 commit 77e2edf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/scenic/assets/static.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ defmodule Scenic.Assets.Static do
342342
Example:
343343
```elixir
344344
alias Scenic.Assets.Static
345-
library = Scenic.Assets.Static.library()
345+
library = Static.library()
346346
347347
{:ok, "VvWQFjblIwTGsvGx866t8MIG2czWyIc8by6Xc88AOns"} = Static.hash( library, :parrot )
348348
{:ok, "VvWQFjblIwTGsvGx866t8MIG2czWyIc8by6Xc88AOns"} = Static.hash( library, "images/parrot.png" )
@@ -370,7 +370,7 @@ defmodule Scenic.Assets.Static do
370370
371371
Example:
372372
```elixir
373-
{:ok, meta} = Scenic.Assets.Static.fetch( :parrot )
373+
{:ok, meta} = Scenic.Assets.Static.meta( :parrot )
374374
```
375375
"""
376376
@spec meta(id :: any) :: {:ok, meta :: any} | :error

0 commit comments

Comments
 (0)