Skip to content

Commit 4592d12

Browse files
committed
Fix unresolved doc links
1 parent 76d5c2e commit 4592d12

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

elasticsearch/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@
143143
//! # }
144144
//! ```
145145
//! For APIs that contain parts of the Url path to be provided by the consumer, the Url path
146-
//! variants are modelled as an `enum`, such as [CatIndicesParts] in the above example, which models
147-
//! the variants of the [CatIndices] API.
146+
//! variants are modelled as an `enum`, such as [CatIndicesParts](cat::CatIndicesParts) in the above example, which models
147+
//! the variants of the [CatIndices](cat::CatIndices) API.
148148
//!
149149
//! ### Indexing
150150
//!
@@ -261,12 +261,12 @@
261261
//!
262262
//! Some APIs expect newline delimited JSON
263263
//! (NDJSON) however, so the `body` associated for these APIs constrain the input to a vector of
264-
//! types that implement [Body] trait. An example of this was the bulk indexing multiple documents
264+
//! types that implement [Body](http::request::Body) trait. An example of this was the bulk indexing multiple documents
265265
//! above.
266266
//!
267-
//! The [Body] trait represents the body of an API call, allowing for different body implementations.
267+
//! The [Body](http::request::Body) trait represents the body of an API call, allowing for different body implementations.
268268
//! As well as those to represent JSON and NDJSON, a few other types also have implementations for
269-
//! [Body], such as byte slice. Whilst these can't be passed to the API functions directly,
269+
//! [Body](http::request::Body), such as byte slice. Whilst these can't be passed to the API functions directly,
270270
//! [Elasticsearch::send] can be used
271271
//!
272272
//! ```rust,no_run

0 commit comments

Comments
 (0)