mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
docs: fix gramatical error in eco protocol
This commit is contained in:
parent
5d48de178b
commit
ef017d4703
1 changed files with 3 additions and 3 deletions
|
|
@ -3,11 +3,11 @@ use crate::http::HttpClient;
|
|||
use crate::{GDResult, TimeoutSettings};
|
||||
use std::net::{IpAddr, SocketAddr};
|
||||
|
||||
/// Query a eco server.
|
||||
/// Query an eco server.
|
||||
#[inline]
|
||||
pub fn query(address: &IpAddr, port: Option<u16>) -> GDResult<Response> { query_with_timeout(address, port, &None) }
|
||||
|
||||
/// Query a eco server.
|
||||
/// Query an eco server.
|
||||
#[inline]
|
||||
pub fn query_with_timeout(
|
||||
address: &IpAddr,
|
||||
|
|
@ -17,7 +17,7 @@ pub fn query_with_timeout(
|
|||
query_with_timeout_and_extra_settings(address, port, timeout_settings, None)
|
||||
}
|
||||
|
||||
/// Query a eco server.
|
||||
/// Query an eco server.
|
||||
pub fn query_with_timeout_and_extra_settings(
|
||||
address: &IpAddr,
|
||||
port: Option<u16>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue