Mercurial > hg-stable
comparison .clang-format @ 50248:af9d050f2bb8
rust: box ConfigValueParseError to avoid large result types
clippy emits a warning that all the Result types are way too large
because of HgError includes ConfigValueParseError as one of the variants,
so its size is 136 bytes.
By boxing ConfigValueParseError we're hopefully making everything faster
"for free".
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Mon, 27 Feb 2023 18:24:29 +0000 |
parents | d0a3fa849cb8 |
children |
comparison
equal
deleted
inserted
replaced
50247:3f3fca243dca | 50248:af9d050f2bb8 |
---|