diff options
author | Paul Masurel <paul.masurel@gmail.com> | 2018-02-12 10:31:29 +0900 |
---|---|---|
committer | Paul Masurel <paul.masurel@gmail.com> | 2018-02-12 10:31:29 +0900 |
commit | a7ffc0e610c10195e0a3214943fa50a930e79bc3 (patch) | |
tree | 1e39342760cee2705a44006cad1a8d301104557c /src/query/scorer.rs | |
parent | 9370427ae2863a4e2bb7ade4d224626b6adf6a1e (diff) |
Rustfmt
Diffstat (limited to 'src/query/scorer.rs')
-rw-r--r-- | src/query/scorer.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/query/scorer.rs b/src/query/scorer.rs index 2cbeb00..619e580 100644 --- a/src/query/scorer.rs +++ b/src/query/scorer.rs @@ -62,7 +62,6 @@ impl Scorer for EmptyScorer { } } - /// Wraps a `DocSet` and simply returns a constant `Scorer`. /// The `ConstScorer` is useful if you have a `DocSet` where /// you needed a scorer. @@ -75,7 +74,6 @@ pub struct ConstScorer<TDocSet: DocSet> { } impl<TDocSet: DocSet> ConstScorer<TDocSet> { - /// Creates a new `ConstScorer`. pub fn new(docset: TDocSet) -> ConstScorer<TDocSet> { ConstScorer { |