Fix minor spelling mistake in example function.