huskies: merge 927
This commit is contained in:
@@ -20,6 +20,7 @@ const MAX_GATE_OUTPUT_BYTES: usize = 8_000;
|
||||
|
||||
/// Truncate gate output to [`MAX_GATE_OUTPUT_BYTES`], keeping the **tail**
|
||||
/// (where compiler errors and test failures are reported).
|
||||
#[allow(clippy::string_slice)] // adjusted is walked forward to a char boundary before slicing
|
||||
fn truncate_gate_output(output: &str) -> &str {
|
||||
if output.len() <= MAX_GATE_OUTPUT_BYTES {
|
||||
return output;
|
||||
|
||||
Reference in New Issue
Block a user