mu-labels: fix comment

This commit is contained in:
Dirk-Jan C. Binnema
2026-07-23 11:17:12 +03:00
committed by Seth Ladygo
parent 0658f18062
commit 8208639c49

View File

@ -37,9 +37,9 @@ Mu::Labels::validate_label(const std::string &label)
const auto cstr{label.c_str()}; const auto cstr{label.c_str()};
// labels must be at least two characters and not start with a // labels must not start with '+' or '-'; this limitation is
// dash. these limitations are there to avoid confusion with // there to avoid confusion with delta-labels / command-line
// command-line parameters. // parameters.
if (cstr[0] == '-' || cstr[0] == '+') if (cstr[0] == '-' || cstr[0] == '+')
return Err(Error{Error::Code::InvalidArgument, return Err(Error{Error::Code::InvalidArgument,
"labels cannot start with '+' or '-' ({})", label}); "labels cannot start with '+' or '-' ({})", label});