Skip to content

Commit bf639d2

Browse files
wingyplusjosevalim
authored andcommitted
Fix unclosed backquotes in Code.Fragment and Macro (#12061)
1 parent 777a11d commit bf639d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/elixir/lib/code/fragment.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ defmodule Code.Fragment do
4444
4545
* `{:alias, inside_alias, charlist}` - the context is an alias, potentially
4646
a nested one, where `inside_alias` is an expression `{:module_attribute, charlist}`
47-
or {:local_or_var, charlist}` and `charlist` is a static part
47+
or `{:local_or_var, charlist}` and `charlist` is a static part
4848
Examples are `__MODULE__.Submodule` or `@hello.Submodule`
4949
5050
* `{:dot, inside_dot, charlist}` - the context is a dot

lib/elixir/lib/macro.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1971,7 +1971,7 @@ defmodule Macro do
19711971
def quoted_literal?(term), do: is_atom(term) or is_number(term) or is_binary(term)
19721972

19731973
@doc """
1974-
Expands a `quoted_literal` with the given `
1974+
Expands the `ast` representing a quoted literal within the given `env`.
19751975
19761976
This function checks if the given AST represents a quoted literal
19771977
(using `quoted_literal?/1`) and then expands all relevant nodes.

0 commit comments

Comments
 (0)