mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
chore(clippy): clean up warnings
This commit is contained in:
parent
4c5ffde2e5
commit
b7144e015d
2 changed files with 4 additions and 4 deletions
|
|
@ -132,14 +132,14 @@ impl<'a, B: ByteOrder> Buffer<'a, B> {
|
|||
/// # Type Parameters
|
||||
///
|
||||
/// * `D` - The type of string decoder to use. This type must implement the
|
||||
/// `StringDecoder` trait with the same byte order as the buffer.
|
||||
/// `StringDecoder` trait with the same byte order as the buffer.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `until` - An optional delimiter. If provided, the method will read
|
||||
/// until this
|
||||
/// delimiter is encountered. If not provided, the method will read until
|
||||
/// the default delimiter of the decoder.
|
||||
/// delimiter is encountered. If not provided, the method will read until
|
||||
/// the default delimiter of the decoder.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ fn construct_payload(region: Region, filters: &Option<SearchFilters>, last_ip: &
|
|||
// The last fetched ip as a string
|
||||
last_ip.as_bytes(),
|
||||
// Followed by an ':'
|
||||
&[b':'],
|
||||
b":",
|
||||
// And the port, as a string
|
||||
last_port.to_string().as_bytes(),
|
||||
// Which needs to end with a NULL byte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue