Skip to content

Commit 9d41c62

Browse files
authored
Merge pull request #225 from romch007/main
Fix typo in pooled-with-rustls example
2 parents 221611d + 957a7cc commit 9d41c62

File tree

1 file changed

+1
-1
lines changed
  • examples/postgres/pooled-with-rustls/src

1 file changed

+1
-1
lines changed

examples/postgres/pooled-with-rustls/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
2525
// means this will check whether the provided certificate is valid for the given database host.
2626
//
2727
// `libpq` does not perform these checks by default (https://www.postgresql.org/docs/current/libpq-connect.html)
28-
// If you hit a TLS error while conneting to the database double check your certificates
28+
// If you hit a TLS error while connecting to the database double check your certificates
2929
let pool = Pool::builder()
3030
.max_size(10)
3131
.min_idle(Some(5))

0 commit comments

Comments
 (0)