Skip to content

Commit

Permalink
Fix (some) clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET committed Aug 15, 2024
1 parent 5a46fc1 commit 7f53382
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions dap2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ license = "MIT"
name = "dap2"
repository = "https://github.com/gauteh/dars"
version = "0.2.0"
readme = "../README.md"

[dependencies]
anyhow = "1.0.35"
Expand Down
1 change: 1 addition & 0 deletions dars-catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ repository = "https://github.com/gauteh/dars"
license = "MIT"
description = "Catalog for dars-dap"
version = "0.1.0"
readme = "../README.md"

[dependencies]
warp = "0.3"
Expand Down
1 change: 1 addition & 0 deletions dars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ version = "0.1.0"
repository = "https://github.com/gauteh/dars"
license = "MIT"
description = "𓃢 A fast and light OPeNDAP server"
readme = "../README.md"

[[bin]]
name = "dars"
Expand Down
6 changes: 3 additions & 3 deletions dars/src/data/filters.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! This module holds the collection of datasets which are available. It utilizes the `dap2`
//! module to parse queries and dispatch metadata or data requests to the `Dataset` implementation
//! on each dataset-source.
use std::convert::Infallible;
///! This module holds the collection of datasets which are available. It utilizes the `dap2`
///! module to parse queries and dispatch metadata or data requests to the `Dataset` implementation
///! on each dataset-source.
use std::sync::Arc;
use warp::Filter;

Expand Down
12 changes: 6 additions & 6 deletions dars/src/hdf5/dds.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
///! HDF5 files have dimensions defined through various special attributes, linking them using ID's
///! reference lists.
///!
///! String and char type datasets are not supported.
///!
///! There are some types of datasets that apparently should be ignored.
//! HDF5 files have dimensions defined through various special attributes, linking them using ID's
//! reference lists.
//!
//! String and char type datasets are not supported.
//!
//! There are some types of datasets that apparently should be ignored.
use hdf5_sys as hs;
use hdf5_sys::h5t::hvl_t;
use std::convert::TryInto;
Expand Down

0 comments on commit 7f53382

Please sign in to comment.