|
3 | 3 | //! |
4 | 4 | //! # Documentation book |
5 | 5 | //! The best source to learn about this driver is the [documentation book](https://rust-driver.docs.scylladb.com/).\ |
6 | | -//! This page contains mainly API documentation |
| 6 | +//! This page contains mainly API documentation. |
7 | 7 | //! |
8 | 8 | //! # Other documentation |
9 | 9 | //! * [Documentation book](https://rust-driver.docs.scylladb.com/) |
|
13 | 13 | //! |
14 | 14 | //! # Driver overview |
15 | 15 | //! ### Connecting |
16 | | -//! All driver activity revolves around the [Session](crate::client::session::Session)\ |
| 16 | +//! All driver activity revolves around the [Session](crate::client::session::Session).\ |
17 | 17 | //! `Session` is created by specifying a few known nodes and connecting to them: |
18 | 18 | //! |
19 | 19 | //! ```rust,no_run |
|
44 | 44 | //! * [Prepared paged](crate::client::session::Session::execute_iter) |
45 | 45 | //! * [Batch](crate::client::session::Session::batch) |
46 | 46 | //! |
47 | | -//! To specify options for a single query create the query object and configure it: |
| 47 | +//! To specify options for a single query, create the corresponding object and configure it: |
48 | 48 | //! * For simple: [`Statement`](crate::statement::unprepared::Statement) |
49 | 49 | //! * For prepared: [`PreparedStatement`](crate::statement::prepared::PreparedStatement) |
50 | 50 | //! * For batch: [`Batch`](crate::statement::batch::Batch) |
|
74 | 74 | //! # use std::error::Error; |
75 | 75 | //! # async fn check_only_compiles(session: &Session) -> Result<(), Box<dyn Error>> { |
76 | 76 | //! |
77 | | -//! // Read rows containing an int and text |
| 77 | +//! // Read rows containing an int and text. |
78 | 78 | //! // Keep in mind that all results come in one response (no paging is done!), |
79 | 79 | //! // so the memory footprint and latency may be huge! |
80 | 80 | //! // To prevent that, use `Session::query_iter` or `Session::query_single_page`. |
|
90 | 90 | //! # Ok(()) |
91 | 91 | //! # } |
92 | 92 | //! ``` |
93 | | -//! See the [book](https://rust-driver.docs.scylladb.com/stable/statements/result.html) for more receiving methods |
| 93 | +//! See the [book](https://rust-driver.docs.scylladb.com/stable/statements/result.html) for more receiving methods. |
94 | 94 |
|
95 | 95 | #![cfg_attr(docsrs, feature(doc_auto_cfg))] |
96 | 96 |
|
|
0 commit comments