Skip to content

Commit 4592471

Browse files
authored
improve docs (#1514)
fix link alias after rust-lang/rustfmt#5262 has been merged and released. fix dead links
1 parent 14cb817 commit 4592471

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/aggregation/bucket/histogram/histogram.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ use crate::{DocId, TantivyError};
4242
/// AggregationCollector.
4343
///
4444
/// Result type is
45-
/// [crate::aggregation::intermediate_agg_result::IntermediateBucketResult] with
46-
/// [crate::aggregation::intermediate_agg_result::IntermediateHistogramBucketEntry] on the
45+
/// [IntermediateBucketResult](crate::aggregation::intermediate_agg_result::IntermediateBucketResult) with
46+
/// [IntermediateHistogramBucketEntry](crate::aggregation::intermediate_agg_result::IntermediateHistogramBucketEntry) on the
4747
/// DistributedAggregationCollector.
4848
///
4949
/// # Limitations/Compatibility

src/aggregation/bucket/range.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ use crate::{DocId, TantivyError};
2727
/// AggregationCollector.
2828
///
2929
/// Result type is
30-
/// [crate::aggregation::intermediate_agg_result::IntermediateBucketResult] with
31-
/// [crate::aggregation::intermediate_agg_result::IntermediateRangeBucketEntry] on the
30+
/// [IntermediateBucketResult](crate::aggregation::intermediate_agg_result::IntermediateBucketResult) with
31+
/// [IntermediateRangeBucketEntry](crate::aggregation::intermediate_agg_result::IntermediateRangeBucketEntry) on the
3232
/// DistributedAggregationCollector.
3333
///
3434
/// # Limitations/Compatibility

src/aggregation/bucket/term_agg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ use crate::{DocId, TantivyError};
4747
/// AggregationCollector.
4848
///
4949
/// Result type is
50-
/// [crate::aggregation::intermediate_agg_result::IntermediateBucketResult] with
51-
/// [crate::aggregation::intermediate_agg_result::IntermediateTermBucketEntry] on the
50+
/// [IntermediateBucketResult](crate::aggregation::intermediate_agg_result::IntermediateBucketResult) with
51+
/// [IntermediateTermBucketEntry](crate::aggregation::intermediate_agg_result::IntermediateTermBucketEntry) on the
5252
/// DistributedAggregationCollector.
5353
///
5454
/// # Limitations/Compatibility

src/aggregation/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@
150150
//! IntermediateAggregationResults provides the
151151
//! [merge_fruits](intermediate_agg_result::IntermediateAggregationResults::merge_fruits) method to
152152
//! merge multiple results. The merged result can then be converted into
153-
//! [agg_result::AggregationResults] via the
154-
//! [agg_result::AggregationResults::from_intermediate_and_req] method.
153+
//! [AggregationResults](agg_result::AggregationResults) via the
154+
//! [into_final_bucket_result](intermediate_agg_result::IntermediateAggregationResults::into_final_bucket_result) method.
155155
156156
pub mod agg_req;
157157
mod agg_req_with_accessor;

src/fastfield/multivalued/writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use crate::{DatePrecision, DocId};
2727
/// get_multivalue_writer_mut).
2828
///
2929
/// Once acquired, writing is done by calling
30-
/// [`.add_document_vals(&[u64])`](MultiValuedFastFieldWriter::add_document_vals) once per document.
30+
/// [`.add_document(&Document)`](MultiValuedFastFieldWriter::add_document) once per value.
3131
///
3232
/// The serializer makes it possible to remap all of the values
3333
/// that were pushed to the writer using a mapping.

0 commit comments

Comments
 (0)