Skip to content

Commit

Permalink
Apply unreachable_pub lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Nov 21, 2023
1 parent 326177e commit 08a6a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ missing_debug_implementations = "warn"
# missing_docs = "warn" # TODO
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
unreachable_pub = "warn"
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use num_traits::Float;

pub fn is_inputs_valid<T>(times: &[T], points: &[Vec<T>]) -> bool
pub(crate) fn is_inputs_valid<T>(times: &[T], points: &[Vec<T>]) -> bool
where
T: Float,
{
Expand Down

0 comments on commit 08a6a55

Please sign in to comment.