Skip to content

Commit c756fe8

Browse files
docs: fix unbalanced quote in macros.md (#18120)
2 parents bc2527e + e41401a commit c756fe8

File tree

1 file changed

+1
-1
lines changed
  • docs/_docs/reference/metaprogramming

1 file changed

+1
-1
lines changed

docs/_docs/reference/metaprogramming/macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Therefore, while evaluating the quote, it is not possible to accidentally rebind
255255
If a quote is well typed, then the generated code is well typed.
256256
This is a simple consequence of tracking the type of each expression.
257257
An `Expr[T]` can only be created from a quote that contains an expression of type `T`.
258-
Conversely, an `Expr[T]` can only be spliced in a location that expects a type `T.
258+
Conversely, an `Expr[T]` can only be spliced in a location that expects a type `T`.
259259
As mentioned before, `Expr` is covariant in its type parameter.
260260
This means that an `Expr[T]` can contain an expression of a subtype of `T`.
261261
When spliced in a location that expects a type `T, these expressions also have a valid type.

0 commit comments

Comments
 (0)