Created
March 17, 2021 09:16
-
-
Save addrummond/e03add788c029e7052e05976d89a4ecd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule HtmlLintNative do | |
use Rustler, otp_app: :platform, crate: "platform_plugs_htmllintnative" | |
def add(_a, _b), do: error() | |
def lint(_html_string), do: error() | |
defp error(), do: :erlang.nif_error(:nif_not_loaded) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment