File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -394,14 +394,16 @@ pub struct GenerationConfig<'a> {
394394 /// ```
395395 /// # use dsync::{GenerationConfig,GenerationConfigOpts};
396396 /// GenerationConfig {
397- /// // ... all required options
398- /// # connection_type: String::default(),
397+ /// // ... all required options, for example:
398+ /// connection_type: String::from("diesel::sqlite::SqliteConnection"),
399+ /// diesel_backend: String::from("diesel::sqlite::Sqlite"),
399400 /// options: Default::default(),
400401 /// };
401402 /// // or
402403 /// GenerationConfig {
403- /// // ... all required options
404- /// # connection_type: String::default(),
404+ /// // ... all required options, for example:
405+ /// connection_type: String::from("diesel::sqlite::SqliteConnection"),
406+ /// diesel_backend: String::from("diesel::sqlite::Sqlite"),
405407 /// options: GenerationConfigOpts {
406408 /// ..Default::default()
407409 /// },
You can’t perform that action at this time.
0 commit comments