docs: fix mistake in code example

closes #20