From e0436e6193073b256c6ebd6b2cf22835c46a49a1 Mon Sep 17 00:00:00 2001 From: Aiden Park <275402320+vip892766gma@users.noreply.github.com> Date: Thu, 14 May 2026 05:07:15 +0000 Subject: [PATCH] fix: duplicated "the" in schema-engine, psl, and quaint doc-comments --- psl/parser-database/src/relations.rs | 2 +- quaint/src/ast/table.rs | 2 +- .../src/sql_destructive_change_checker/check.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/psl/parser-database/src/relations.rs b/psl/parser-database/src/relations.rs index 7a155c17e858..50bccafb125f 100644 --- a/psl/parser-database/src/relations.rs +++ b/psl/parser-database/src/relations.rs @@ -440,7 +440,7 @@ pub(super) fn ingest_relation<'db>(evidence: RelationEvidence<'db>, relations: & /// An action describing the way referential integrity is managed in the system. /// /// An action is triggered when a relation constraint gets violated in a way -/// that would make the the data inconsistent, e.g. deleting or updating a +/// that would make the data inconsistent, e.g. deleting or updating a /// referencing record that leaves related records into a wrong state. /// /// ```ignore diff --git a/quaint/src/ast/table.rs b/quaint/src/ast/table.rs index 11a735bcd581..3a45de968e57 100644 --- a/quaint/src/ast/table.rs +++ b/quaint/src/ast/table.rs @@ -98,7 +98,7 @@ impl<'a> Table<'a> { /// - Find the unique indices from the table that matches the inserted columns /// - Create a join from the virtual table with the uniques /// - Combine joins with `OR` - /// - If the the index is a compound with other columns, combine them with `AND` + /// - If the index is a compound with other columns, combine them with `AND` /// - If the column is not provided and index exists, try inserting a default value. /// - Otherwise the function will return an error. pub(crate) fn join_conditions(&self, inserted_columns: &[Column<'a>]) -> crate::Result> { diff --git a/schema-engine/connectors/sql-schema-connector/src/sql_destructive_change_checker/check.rs b/schema-engine/connectors/sql-schema-connector/src/sql_destructive_change_checker/check.rs index 61325c84a3c0..2bc63de394da 100644 --- a/schema-engine/connectors/sql-schema-connector/src/sql_destructive_change_checker/check.rs +++ b/schema-engine/connectors/sql-schema-connector/src/sql_destructive_change_checker/check.rs @@ -31,7 +31,7 @@ pub(crate) trait Check { None } - /// Indicates that the the number of non-null values should be inspected for the returned table and column. + /// Indicates that the number of non-null values should be inspected for the returned table and column. fn needed_column_value_count(&self) -> Option { None }