Skip to content

Commit

Permalink
Fix new ETL module lints
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Nov 20, 2023
1 parent b68b9fa commit edb29eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/connection/etl/export/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct ExportReader {

impl ExportReader {
/// HTTP Response for the EXPORT request Exasol sends.
const RESPONSE: &[u8; 38] = b"HTTP/1.1 200 OK\r\n\
const RESPONSE: &'static [u8; 38] = b"HTTP/1.1 200 OK\r\n\
Connection: close\r\n\
\r\n";

Expand Down
4 changes: 2 additions & 2 deletions src/connection/etl/import/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ impl ImportWriter {
// In HEX, that's 8 bytes -> 16 digits.
// We also reserve two additional bytes for CRLF.
const CHUNK_SIZE_RESERVED: usize = 18;
const EMPTY_CHUNK: &[u8; 5] = b"0\r\n\r\n";
const EMPTY_CHUNK: &'static [u8; 5] = b"0\r\n\r\n";

/// HTTP Response for the IMPORT request Exasol sends.
const RESPONSE: &[u8; 66] = b"HTTP/1.1 200 OK\r\n\
const RESPONSE: &'static [u8; 66] = b"HTTP/1.1 200 OK\r\n\
Connection: close\r\n\
Transfer-Encoding: chunked\r\n\
\r\n";
Expand Down

0 comments on commit edb29eb

Please sign in to comment.