fix typo in documentation snippet