3 ms·
const grent = match (passwd::getgroup(group)) { void => fmt::fatal("No '{}' group available", group), gr: passwd::grent => gr, }; Interesting, is voi
by Zababa 5y ago
const grent = match (passwd::getgroup(group)) {
void => fmt::fatal("No '{}' group available", group),
gr: passwd::grent => gr,
};
Interesting, is void being used as the "None" of an option type here? At least that's what it looks like to me.