Skip to content

Commit

Permalink
README.md: make version_specific_scratch const (#19)
Browse files Browse the repository at this point in the history
I assume the reason why version_specific_scratch is a Ref{String} is so that it can
be made const, for type stability.
  • Loading branch information
fingolfin authored Jun 9, 2021
1 parent bad7603 commit 3972fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ end
const pkg_version = get_version()

# This will be filled in by `__init__()`; it might change if we get deployed somewhere
version_specific_scratch = Ref{String}()
const version_specific_scratch = Ref{String}()

function __init__()
# This space will be unique between versions of my package that different major and
Expand Down

0 comments on commit 3972fbc

Please sign in to comment.