Skip to content

Commit

Permalink
cargo doc links fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wprzytula committed Aug 31, 2023
1 parent ae59115 commit b4cd5be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scylla/src/connection/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ impl Connection {
/// This interface allows to deal with such cases, by allowing to translate an address as sent
/// by a ScyllaDB node to another address to be used by the driver for connection.
///
/// Please note that the "known nodes" addresses provided while creating the [`Session`]
/// Please note that the "known nodes" addresses provided while creating the [`crate::session::Session`]
/// instance are not translated, only IP address retrieved from or sent by Cassandra nodes
/// to the driver are.
#[async_trait]
Expand Down
2 changes: 1 addition & 1 deletion scylla/src/session/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ pub(crate) enum RunQueryResult<ResT> {
impl Session {
/// Estabilishes a CQL session with the database
///
/// Usually it's easier to use [SessionBuilder](crate::session_builder::SessionBuilder)
/// Usually it's easier to use [SessionBuilder](crate::session::SessionBuilder)
/// instead of calling `Session::connect` directly, because it's more convenient.
/// # Arguments
/// * `config` - Connection configuration - known nodes, Compression, etc.
Expand Down
6 changes: 3 additions & 3 deletions scylla/src/session/session_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ impl<K: SessionBuilderKind> GenericSessionBuilder<K> {
self
}

/// Set the number of attempts to fetch [TracingInfo](crate::tracing::TracingInfo)
/// Set the number of attempts to fetch [TracingInfo](crate::execution::tracing::TracingInfo)
/// in [`Session::get_tracing_info`].
/// The default is 5 attempts.
///
Expand All @@ -834,7 +834,7 @@ impl<K: SessionBuilderKind> GenericSessionBuilder<K> {
self
}

/// Set the delay between attempts to fetch [TracingInfo](crate::tracing::TracingInfo)
/// Set the delay between attempts to fetch [TracingInfo](crate::execution::tracing::TracingInfo)
/// in [`Session::get_tracing_info`].
/// The default is 3 milliseconds.
///
Expand All @@ -859,7 +859,7 @@ impl<K: SessionBuilderKind> GenericSessionBuilder<K> {
self
}

/// Set the consistency level of fetching [TracingInfo](crate::tracing::TracingInfo)
/// Set the consistency level of fetching [TracingInfo](crate::execution::tracing::TracingInfo)
/// in [`Session::get_tracing_info`].
/// The default is [`Consistency::One`].
///
Expand Down

0 comments on commit b4cd5be

Please sign in to comment.