Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fitsio/src/fitsfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl FitsFile {
open_mode: FileOpenMode::READONLY,
file_path: file_path.to_path_buf(),
},
None => unimplemented!(),
None => unreachable!("cfitsio returned success but a null pointer"),
})
}

Expand Down Expand Up @@ -108,7 +108,7 @@ impl FitsFile {
open_mode: FileOpenMode::READWRITE,
file_path: file_path.to_path_buf(),
},
None => unimplemented!(),
None => unreachable!("cfitsio returned success but a null pointer"),
})
}

Expand Down Expand Up @@ -930,7 +930,7 @@ where
open_mode: FileOpenMode::READWRITE,
file_path: file_path.to_path_buf(),
},
None => unimplemented!(),
None => unreachable!("cfitsio returned success but a null pointer"),
};

match self.image_description {
Expand Down
Loading