Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide authored Feb 29, 2024
1 parent a58ec1d commit 4bfc146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nimble_options/docs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ defmodule NimbleOptions.Docs do
defp get_deprecated_str(prev_str, schema) do
space_concat(
prev_str,
schema[:deprecated] && "This option is deprecated. #{String.trim(schema[:deprecated])}"
schema[:deprecated] && "*This option is deprecated. #{String.trim(schema[:deprecated])}*"
)
end

Expand Down
2 changes: 1 addition & 1 deletion test/nimble_options/docs_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ defmodule NimbleOptions.DocsTest do
]

docs = """
* `:old` (`t:atom/0`) - This option is deprecated. Use `:new` instead. Old option.
* `:old` (`t:atom/0`) - *This option is deprecated. Use `:new` instead.* Old option.
* `:new` (`t:String.t/0`) - New option.
Expand Down

0 comments on commit 4bfc146

Please # to comment.