Skip to content

Commit

Permalink
EnvHash should be immutable
Browse files Browse the repository at this point in the history
This is a bit of a relic, and was never really updated to be a standard immutable singleton. I doubt there is a lot of practical difference, but hey.

FYI this type so old, it is now the *second* time it is called a `struct`. :)
  • Loading branch information
andyferris authored Oct 16, 2017
1 parent eae7104 commit c6f7ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/env.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ end # os test
A singleton of this type provides a hash table interface to environment variables.
"""
mutable struct EnvHash <: Associative{String,String}; end
struct EnvHash <: Associative{String,String}; end

"""
ENV
Expand Down

0 comments on commit c6f7ed0

Please sign in to comment.