Skip to content

Commit e474be6

Browse files
authored
docs: Fix a copy-paste error on get_username docs (#3786)
I suspect this is a copy-paste error, it's meant to say username, not port.
1 parent 393b731 commit e474be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-mysql/src/options/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ impl MySqlConnectOptions {
448448
self.socket.as_ref()
449449
}
450450

451-
/// Get the server's port.
451+
/// Get the current username.
452452
///
453453
/// # Example
454454
///

0 commit comments

Comments
 (0)