Skip to content

Commit 369eb57

Browse files
committed
fix: clippy
1 parent 2fe04a0 commit 369eb57

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/json_data.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pub struct JsonShared<Size: size::Size> {
3434
pub summary: Option<SharedLinkSummary<Size>>,
3535
}
3636

37+
#[cfg(feature = "json")]
3738
impl<Size: size::Size> JsonShared<Size> {
3839
/// Decide whether to skip serializing [`JsonShared::details`].
3940
fn skip_details(details: &Option<HardlinkListReflection<Size>>) -> bool {

0 commit comments

Comments
 (0)