From f8a7c14ce8de833682b4436e2609602bd9fb73ea Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:44:55 -0500 Subject: [PATCH] [src/global.rs] Get doctests to pass --- src/global.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/global.rs b/src/global.rs index ad1eaa0..af5a656 100644 --- a/src/global.rs +++ b/src/global.rs @@ -394,14 +394,16 @@ pub struct GenerationConfig<'a> { /// ``` /// # use dsync::{GenerationConfig,GenerationConfigOpts}; /// GenerationConfig { - /// // ... all required options - /// # connection_type: String::default(), + /// // ... all required options, for example: + /// connection_type: String::from("diesel::sqlite::SqliteConnection"), + /// diesel_backend: String::from("diesel::sqlite::Sqlite"), /// options: Default::default(), /// }; /// // or /// GenerationConfig { - /// // ... all required options - /// # connection_type: String::default(), + /// // ... all required options, for example: + /// connection_type: String::from("diesel::sqlite::SqliteConnection"), + /// diesel_backend: String::from("diesel::sqlite::Sqlite"), /// options: GenerationConfigOpts { /// ..Default::default() /// },