potocpav / npy-rs

NumPy file format (de-)serialization in Rust
30 stars 7 forks source link

OutFile::open should be named OutFile::create #18

Open ExpHP opened 5 years ago

ExpHP commented 5 years ago

The name open is confusing and suggests that the file must already exist (or that any existing data is somehow retained).

create is consistent with std::fs::File::create.