so that UnknownTarget("foo".to_owned()) would have "Unknown target: foo" as its description.
Currently the above actually fails to compile with error: 1 positional argument in format string, but no arguments were given, so this would not be a breaking change.
I've recently needed something like the following:
so that
UnknownTarget("foo".to_owned())
would have "Unknown target: foo" as its description.Currently the above actually fails to compile with
error: 1 positional argument in format string, but no arguments were given
, so this would not be a breaking change.