mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update comment, change reference method
This commit is contained in:
parent
7cb817a173
commit
25bcb58fc4
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ impl Socket {
|
|||
|
||||
// Setters
|
||||
|
||||
/// Set default port for socket connections (1965 by default)
|
||||
/// Change default port for this socket connections (`1965` by default)
|
||||
pub fn set_default_port(&mut self, default_port: u16) {
|
||||
self.default_port = default_port;
|
||||
}
|
||||
|
|
@ -70,6 +70,6 @@ impl Socket {
|
|||
///
|
||||
/// https://docs.gtk.org/gio/class.SocketClient.html
|
||||
pub fn client(&self) -> &SocketClient {
|
||||
self.client.as_ref()
|
||||
&self.client
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue