Skip to content

Commit

Permalink
docs: fix gramatical error in eco protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Feb 25, 2024
1 parent 5d48de1 commit ef017d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/lib/src/games/eco/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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>,
Expand Down

0 comments on commit ef017d4

Please sign in to comment.