From 6ae1a83434bb2f34310420e52d02c01d12ef80c7 Mon Sep 17 00:00:00 2001 From: Jonas Marcello Date: Mon, 10 Jun 2024 21:31:58 +0200 Subject: [PATCH] Fix clipy suggestions --- src/similarity.rs | 4 ++-- src/stats.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/similarity.rs b/src/similarity.rs index 7e69b7b..1be5f13 100644 --- a/src/similarity.rs +++ b/src/similarity.rs @@ -446,9 +446,9 @@ impl Default for GroupSimilarity { pub enum Builtins { /// [Distance](`Distance`) - based similarity Distance(InformationContentKind), - /// [GraphIc](`GraphIc`) - based similarity + /// [`GraphIc`](`GraphIc`) - based similarity GraphIc(InformationContentKind), - /// [InformationCoefficient](`InformationCoefficient`) - based similarity + /// [`InformationCoefficient`](`InformationCoefficient`) - based similarity InformationCoefficient(InformationContentKind), /// [Jiang & Conrath](`Jc`) - based similarity Jc(InformationContentKind), diff --git a/src/stats.rs b/src/stats.rs index 6200e23..89431f7 100644 --- a/src/stats.rs +++ b/src/stats.rs @@ -97,9 +97,9 @@ impl Enrichment { } struct SampleSet { - /// The total number of HpoTerms in the full set + /// The total number of `HpoTerms` in the full set size: u64, - /// A map containing the counts of each Gene/Disease in the SampleSet + /// A map containing the counts of each Gene/Disease in the `SampleSet` counts: HashMap, phantom: PhantomData, }