Mercurial > hg-stable
comparison contrib/chg/chg.c @ 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 | 8fcc0a829f3d |
children | cf4d2f31660d |
comparison
equal
deleted
inserted
replaced
50247:3f3fca243dca | 50248:af9d050f2bb8 |
---|