chore(clippy): clean up warnings

This commit is contained in:
Cain 2025-04-20 22:59:46 +01:00
parent 4c5ffde2e5
commit b7144e015d
2 changed files with 4 additions and 4 deletions

View file

@ -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
///

View file

@ -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