Skip to content

Commit 2848bfb

Browse files
authored
Fix typo: missing space in types manual (#35514)
1 parent 8d3e64f commit 2848bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ julia> firstlast(Val(false))
14151415
"Last"
14161416
```
14171417

1418-
For consistency across Julia, the call site should always pass a `Val`*instance* rather than using
1418+
For consistency across Julia, the call site should always pass a `Val` *instance* rather than using
14191419
a *type*, i.e., use `foo(Val(:bar))` rather than `foo(Val{:bar})`.
14201420

14211421
It's worth noting that it's extremely easy to mis-use parametric "value" types, including `Val`;

0 commit comments

Comments
 (0)