I am trying to understand a part of proof of Corollary 2 in Section III. 5 in Mumford's Red book.
Suppose I have an etale dominant morphism $f: X \to Y$ where $X$ and $Y$ are separated irreducible reduced scheme of finite type over an algebraically closed field.
He states that the Spec of $k(X)$, the function field of $X$, is the fibre of $f$ over the generic point of $Y$.
How can I prove the statement?
I think I have covered all the assumptions in the proof, but the example provided in the comment looks like a counterexample... I would appreciate any clarification or explanation on this. Thank you.
ps In this section Mumford defines etale for $f$ of finite type.