From 108721624ff46183404927d867b8db4de98d2869 Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 16 Sep 2023 18:51:38 +0200 Subject: [PATCH] Improves bulk loader doc comments --- lib/src/store.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/src/store.rs b/lib/src/store.rs index a6215707..fa1a243f 100644 --- a/lib/src/store.rs +++ b/lib/src/store.rs @@ -1452,9 +1452,9 @@ impl BulkLoader { /// /// This function is optimized for large dataset loading speed. For small files, [`Store::load_dataset`] might be more convenient. /// - ///
This method is not atomic.
+ ///
This method is not atomic. /// If the parsing fails in the middle of the file, only a part of it may be written to the store. - /// Results might get weird if you delete data during the loading process. + /// Results might get weird if you delete data during the loading process.
/// ///
This method is optimized for speed. See [the struct](BulkLoader) documentation for more details.
/// @@ -1510,9 +1510,9 @@ impl BulkLoader { /// /// This function is optimized for large graph loading speed. For small files, [`Store::load_graph`] might be more convenient. /// - ///
This method is not atomic.
+ ///
This method is not atomic. /// If the parsing fails in the middle of the file, only a part of it may be written to the store. - /// Results might get weird if you delete data during the loading process. + /// Results might get weird if you delete data during the loading process.
/// ///
This method is optimized for speed. See [the struct](BulkLoader) documentation for more details.
/// @@ -1570,9 +1570,9 @@ impl BulkLoader { /// Adds a set of quads using the bulk loader. /// - ///
This method is not atomic.
+ ///
This method is not atomic. /// If the process fails in the middle of the file, only a part of the data may be written to the store. - /// Results might get weird if you delete data during the loading process. + /// Results might get weird if you delete data during the loading process.
/// ///
This method is optimized for speed. See [the struct](BulkLoader) documentation for more details.
pub fn load_quads( @@ -1584,9 +1584,9 @@ impl BulkLoader { /// Adds a set of quads using the bulk loader while breaking in the middle of the process in case of error. /// - ///
This method is not atomic.
+ ///
This method is not atomic. /// If the process fails in the middle of the file, only a part of the data may be written to the store. - /// Results might get weird if you delete data during the loading process. + /// Results might get weird if you delete data during the loading process.
/// ///
This method is optimized for speed. See [the struct](BulkLoader) documentation for more details.
pub fn load_ok_quads + From>(