Skip to content

Commit

Permalink
Merge pull request #70 from hiltontj/hiltontj/rust-1-74
Browse files Browse the repository at this point in the history
Fix new lints in Rust 1.74
  • Loading branch information
hiltontj authored Nov 22, 2023
2 parents f144e6e + 824eddd commit 5dd145d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
4 changes: 4 additions & 0 deletions serde_json_path/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

- **internal**: address new clippy lints in Rust 1.74 ([#70])

[#70]: https://github.com/hiltontj/serde_json_path/pull/70

# 0.6.4 (9 November 2023)

- **added**: `is_empty`, `is_more_than_one`, and `as_more_than_one` methods to `ExactlyOneError` ([#65])
Expand Down
2 changes: 1 addition & 1 deletion serde_json_path/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
missing_debug_implementations,
missing_docs
)]
#![deny(unreachable_pub, private_in_public)]
#![deny(unreachable_pub)]
#![allow(elided_lifetimes_in_paths, clippy::type_complexity)]
#![forbid(unsafe_code)]

Expand Down
4 changes: 4 additions & 0 deletions serde_json_path_core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

- **internal**: address new clippy lints in Rust 1.74 and update some tracing instrumentation ([#70])

[#70]: https://github.com/hiltontj/serde_json_path/pull/70

# 0.1.3 (9 November 2023)

- **added**: `is_empty`, `is_more_than_one`, and `as_more_than_one` methods to `ExactlyOneError` ([#65])
Expand Down
2 changes: 1 addition & 1 deletion serde_json_path_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
missing_debug_implementations,
missing_docs
)]
#![deny(unreachable_pub, private_in_public)]
#![deny(unreachable_pub)]
#![allow(elided_lifetimes_in_paths, clippy::type_complexity)]
#![forbid(unsafe_code)]

Expand Down
2 changes: 1 addition & 1 deletion serde_json_path_core/src/spec/segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Queryable for QuerySegment {
}
}

#[cfg_attr(feature = "trace", tracing::instrument(name = "Query Path Segment", level = "trace", parent = None, ret))]
#[cfg_attr(feature = "trace", tracing::instrument(name = "Descend", level = "trace", parent = None, ret))]
fn descend<'b>(segment: &QuerySegment, current: &'b Value, root: &'b Value) -> Vec<&'b Value> {
let mut query = Vec::new();
if let Some(list) = current.as_array() {
Expand Down
4 changes: 4 additions & 0 deletions serde_json_path_macros/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

- **internal**: address new clippy lints in Rust 1.74 ([#70])

[#70]: https://github.com/hiltontj/serde_json_path/pull/70

# 0.1.1 (9 November 2023)

- bump version for `serde_json_path_core` update
Expand Down
2 changes: 1 addition & 1 deletion serde_json_path_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
missing_debug_implementations,
missing_docs
)]
#![deny(unreachable_pub, private_in_public)]
#![deny(unreachable_pub)]
#![allow(elided_lifetimes_in_paths, clippy::type_complexity)]
#![forbid(unsafe_code)]

Expand Down

0 comments on commit 5dd145d

Please sign in to comment.