From f167e9a5bfa4d7fc566dfbaa04ae4c4c49e21a01 Mon Sep 17 00:00:00 2001 From: Harry Maclean Date: Wed, 30 Aug 2023 18:52:23 +0100 Subject: [PATCH] fix: Ensure sqlx reference is unambiguous Prior to this change, I see errors such as error[E0659]: `sqlx` is ambiguous --> database-schema-0.1.1/src/sqlite/mod.rs:28:5 | 28 | use sqlx::fetch_structure_sql; | ^^^^ ambiguous name | = note: ambiguous because of multiple potential import sources = note: `sqlx` could refer to a crate passed with `--extern` = help: use `::sqlx` to refer to this crate unambiguously note: `sqlx` could also refer to the module defined here --- src/sqlite/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlite/mod.rs b/src/sqlite/mod.rs index bf47e1a..b4b1bb2 100644 --- a/src/sqlite/mod.rs +++ b/src/sqlite/mod.rs @@ -25,9 +25,9 @@ pub(crate) async fn write_structure_sql, Q: AsRef