docs: fix mistake in example code