Fixed typos and formatting of snippet in impl