aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorRose Hudson2024-01-02 15:38:13 +0000
committerGitHub2024-01-02 15:38:13 +0000
commita680b2e409769bf387e5bb7469215b90775e01ba (patch)
tree4481206838b778a78f4e029074144e2cd5dcc844 /book
parent7fd266efa9b90861f585d0cd7366c94bbeeaa81a (diff)
rust highlights: clean up constructor logic (#8957)
Enum variants and (tuple) structs are indistinguishable in general, so we mark any PascalCase pattern or expression as a "constructor", which covers all three.
Diffstat (limited to 'book')
0 files changed, 0 insertions, 0 deletions