Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: