mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-02 18:15:37 +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
|
// 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) {
|
pub fn set_default_port(&mut self, default_port: u16) {
|
||||||
self.default_port = default_port;
|
self.default_port = default_port;
|
||||||
}
|
}
|
||||||
|
|
@ -70,6 +70,6 @@ impl Socket {
|
||||||
///
|
///
|
||||||
/// https://docs.gtk.org/gio/class.SocketClient.html
|
/// https://docs.gtk.org/gio/class.SocketClient.html
|
||||||
pub fn client(&self) -> &SocketClient {
|
pub fn client(&self) -> &SocketClient {
|
||||||
self.client.as_ref()
|
&self.client
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue