Skip to content

Commit dcfd0e8

Browse files
authored
Merge pull request #413 from scylladb/decvybhuify
treewide: replace all book links in the comments with rust driver docs links
2 parents 4ad601a + b80a5f8 commit dcfd0e8

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

scylla/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
//! Although optimized for Scylla, the driver is also compatible with [Apache Cassandra®](https://cassandra.apache.org/).
33
//!
44
//! # Documentation book
5-
//! The best source to learn about this driver is the [documentation book](https://cvybhu.github.io/scyllabook/index.html).\
5+
//! The best source to learn about this driver is the [documentation book](https://rust-driver.docs.scylladb.com/).\
66
//! This page contains mainly API documentation
77
//!
88
//! # Other documentation
9-
//! * [Documentation book](https://cvybhu.github.io/scyllabook/index.html)
9+
//! * [Documentation book](https://rust-driver.docs.scylladb.com/)
1010
//! * [Examples](https://github.com/scylladb/scylla-rust-driver/tree/main/examples)
1111
//! * [Scylla documentation](https://docs.scylladb.com)
1212
//! * [Cassandra® documentation](https://cassandra.apache.org/doc/latest/)
@@ -89,7 +89,7 @@
8989
//! # Ok(())
9090
//! # }
9191
//! ```
92-
//! See the [book](https://cvybhu.github.io/scyllabook/queries/result.html) for more receiving methods
92+
//! See the [book](https://rust-driver.docs.scylladb.com/stable/queries/result.html) for more receiving methods
9393
9494
#[macro_use]
9595
pub mod macros;

scylla/src/transport/load_balancing/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Load balancing configurations\
22
//! `Session` can use any load balancing policy which implements the `LoadBalancingPolicy` trait\
33
//! Policies which implement the `ChildLoadBalancingPolicy` can be wrapped in some other policies\
4-
//! See [the book](https://cvybhu.github.io/scyllabook/load-balancing/load-balancing.html) for more information
4+
//! See [the book](https://rust-driver.docs.scylladb.com/stable/load-balancing/load-balancing.html) for more information
55
66
use super::{cluster::ClusterData, node::Node};
77
use crate::routing::Token;

scylla/src/transport/session.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ impl Session {
358358
///
359359
/// This is the easiest way to make a query, but performance is worse than that of prepared queries.
360360
///
361-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/simple.html) for more information
361+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/simple.html) for more information
362362
/// # Arguments
363363
/// * `query` - query to perform, can be just a `&str` or the [Query](crate::query::Query) struct.
364364
/// * `values` - values bound to the query, easiest way is to use a tuple of bound values
@@ -470,7 +470,7 @@ impl Session {
470470
/// Returns an async iterator (stream) over all received rows\
471471
/// Page size can be specified in the [Query](crate::query::Query) passed to the function
472472
///
473-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/paged.html) for more information
473+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/paged.html) for more information
474474
///
475475
/// # Arguments
476476
/// * `query` - query to perform, can be just a `&str` or the [Query](crate::query::Query) struct.
@@ -534,9 +534,9 @@ impl Session {
534534
/// > ***Warning***\
535535
/// > For token/shard aware load balancing to work properly, all partition key values
536536
/// > must be sent as bound values
537-
/// > (see [performance section](https://cvybhu.github.io/scyllabook/queries/prepared.html#performance))
537+
/// > (see [performance section](https://rust-driver.docs.scylladb.com/stable/queries/prepared.html#performance))
538538
///
539-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/prepared.html) for more information
539+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/prepared.html) for more information
540540
///
541541
/// # Arguments
542542
/// * `query` - query to prepare, can be just a `&str` or the [Query](crate::query::Query) struct.
@@ -613,9 +613,9 @@ impl Session {
613613
/// > ***Warning***\
614614
/// > For token/shard aware load balancing to work properly, all partition key values
615615
/// > must be sent as bound values
616-
/// > (see [performance section](https://cvybhu.github.io/scyllabook/queries/prepared.html#performance))
616+
/// > (see [performance section](https://rust-driver.docs.scylladb.com/stable/queries/prepared.html#performance))
617617
///
618-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/prepared.html) for more information
618+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/prepared.html) for more information
619619
///
620620
/// # Arguments
621621
/// * `prepared` - the prepared statement to execute, generated using [`Session::prepare`](Session::prepare)
@@ -699,7 +699,7 @@ impl Session {
699699
/// Page size can be specified in the [PreparedStatement](crate::prepared_statement::PreparedStatement)
700700
/// passed to the function
701701
///
702-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/paged.html) for more information
702+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/paged.html) for more information
703703
///
704704
/// # Arguments
705705
/// * `prepared` - the prepared statement to execute, generated using [`Session::prepare`](Session::prepare)
@@ -772,7 +772,7 @@ impl Session {
772772
///
773773
/// Batch values must contain values for each of the queries
774774
///
775-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/batch.html) for more information
775+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/batch.html) for more information
776776
///
777777
/// # Arguments
778778
/// * `batch` - [Batch](crate::batch::Batch) to be performed
@@ -833,7 +833,7 @@ impl Session {
833833
/// Trying to do two `use_keyspace` requests simultaneously with different names
834834
/// can end with some connections using one keyspace and the rest using the other.
835835
///
836-
/// See [the book](https://cvybhu.github.io/scyllabook/queries/usekeyspace.html) for more information
836+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/queries/usekeyspace.html) for more information
837837
///
838838
/// # Arguments
839839
///
@@ -899,7 +899,7 @@ impl Session {
899899

900900
/// Get [`TracingInfo`] of a traced query performed earlier
901901
///
902-
/// See [the book](https://cvybhu.github.io/scyllabook/tracing/tracing.html)
902+
/// See [the book](https://rust-driver.docs.scylladb.com/stable/tracing/tracing.html)
903903
/// for more information about query tracing
904904
pub async fn get_tracing_info(&self, tracing_id: &Uuid) -> Result<TracingInfo, QueryError> {
905905
self.get_tracing_info_custom(tracing_id, &GetTracingConfig::default())

0 commit comments

Comments
 (0)