improve document docs #2359
improve document docs #2359
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.2 (25ef9e3d8 2024-04-09)
- cargo 1.77.2 (e52e36006 2024-03-26)
- clippy 0.1.77 (25ef9e3 2024-04-09)
Annotations
Check warning on line 162 in src/aggregation/mod.rs
github-actions / clippy
function `invalid_agg_request` is never used
warning: function `invalid_agg_request` is never used
--> src/aggregation/mod.rs:162:15
|
162 | pub(crate) fn invalid_agg_request(message: String) -> crate::TantivyError {
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 86 in src/functional_test.rs
github-actions / clippy
use of deprecated field `index::index_meta::IndexSortByField::order`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.
warning: use of deprecated field `index::index_meta::IndexSortByField::order`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.
--> src/functional_test.rs:86:13
|
86 | order: Order::Desc,
| ^^^^^^^^^^^^^^^^^^
Check warning on line 85 in src/functional_test.rs
github-actions / clippy
use of deprecated field `index::index_meta::IndexSortByField::field`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.
warning: use of deprecated field `index::index_meta::IndexSortByField::field`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.
--> src/functional_test.rs:85:13
|
85 | field: "id".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 84 in src/functional_test.rs
github-actions / clippy
use of deprecated struct `index::index_meta::IndexSortByField`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.
warning: use of deprecated struct `index::index_meta::IndexSortByField`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.
--> src/functional_test.rs:84:29
|
84 | sort_by_field: Some(IndexSortByField {
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default