Skip to content

Commit 7884561

Browse files
committed
allow docs for Styler.string_to_ast
1 parent a490ad6 commit 7884561

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/styler.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ defmodule Styler do
7575
ast_to_string(ast, comments, formatter_opts)
7676
end
7777

78-
@doc false
79-
# Wrap `Code.string_to_quoted_with_comments` with our desired options
78+
@doc "Just `Code.string_to_quoted_with_comments/2` with the necessary options"
8079
def string_to_ast(code, file \\ "nofile") when is_binary(code) do
8180
Code.string_to_quoted_with_comments!(code,
8281
literal_encoder: &__MODULE__.literal_encoder/2,

0 commit comments

Comments
 (0)