mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 03:22:59 +00:00
I want to add a separate field for a hint, so that can be printed in a different color (than red). Having a factory function is useful then, since most call sites don't want to pass a hint. Also, by using a factory function instead of using the constructor directly means that we can accept `&str` arguments instead of forcing the caller to convert a string literal to `String`. |
||
---|---|---|
.. | ||
cleanup_guard.rs | ||
cli_util.rs | ||
commands.rs | ||
config.rs | ||
diff_edit.rs | ||
formatter.rs | ||
graphlog.rs | ||
lib.rs | ||
main.rs | ||
progress.rs | ||
template.pest | ||
template_parser.rs | ||
templater.rs | ||
ui.rs |