Skip to content

Commit 5bbf61a

Browse files
committed
Elide some lifetimes
1 parent 3742060 commit 5bbf61a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,12 +1162,12 @@ impl<'conn> PostgresStatement<'conn> {
11621162
}
11631163

11641164
/// Returns a slice containing the expected parameter types.
1165-
pub fn param_types<'a>(&'a self) -> &'a [PostgresType] {
1165+
pub fn param_types(&self) -> &[PostgresType] {
11661166
self.param_types.as_slice()
11671167
}
11681168

11691169
/// Returns a slice describing the columns of the result of the query.
1170-
pub fn result_descriptions<'a>(&'a self) -> &'a [ResultDescription] {
1170+
pub fn result_descriptions(&self) -> &[ResultDescription] {
11711171
self.result_desc.as_slice()
11721172
}
11731173

0 commit comments

Comments
 (0)