Fix incidences of syntax error.

src/net.rs:192:13: 192:15 error: expected one of `.`, `;`, or `}`, found `Ok`
Fixup Cargo.toml