Skip to content

Commit

Permalink
Remove useless type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
fxpineau committed Oct 16, 2024
1 parent 873a372 commit ef1b016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skymap_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl<'py> SupportedArray<'py> {

#[pyfunction]
pub fn write_skymap(values: SupportedArray<'_>, path: String) -> Result<(), PyErr> {
let writer: BufWriter<File> =
let writer =
BufWriter::new(File::create(path).map_err(|err| PyIOError::new_err(err.to_string()))?);
match values {
SupportedArray::F64(values) => write_skymap_gen(writer, values.as_slice()),
Expand Down

0 comments on commit ef1b016

Please sign in to comment.