doc: rename 'nil' to 'unit' when describing `()`