diff --git a/src/lib.rs b/src/lib.rs index c7e65d5..1b02253 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -380,7 +380,7 @@ impl DBImpl { **Parameter**: - `table_name`: Name of the table to delete from. */ - pub fn delete<'until_build, 'post_query>( + pub fn delete<'until_build, 'post_query: 'until_build>( &self, table_name: &'until_build str, ) -> impl Delete<'until_build, 'post_query> { @@ -405,7 +405,7 @@ impl DBImpl { **Parameter**: - `table_name`: Name of the table the updates should be executed for. */ - pub fn update<'until_build, 'post_query>( + pub fn update<'until_build, 'post_query: 'until_build>( &self, table_name: &'until_build str, ) -> impl Update<'until_build, 'post_query> {