aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crates/candelabra/src/cost/benchmark.rs2
-rw-r--r--src/crates/primrose/src/library_specs.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crates/candelabra/src/cost/benchmark.rs b/src/crates/candelabra/src/cost/benchmark.rs
index 2997c9e..b67d6a3 100644
--- a/src/crates/candelabra/src/cost/benchmark.rs
+++ b/src/crates/candelabra/src/cost/benchmark.rs
@@ -98,7 +98,7 @@ pub(crate) fn tee_output(mut child: Child) -> Result<String> {
while let Ok(None) = child.try_wait() {
let n = stdout.read(&mut buf)?;
let read = &buf[0..n];
- if log_enabled!(Level::Debug) {
+ if log_enabled!(Level::Trace) {
io::stdout().write_all(read)?;
}
output.extend(read);
diff --git a/src/crates/primrose/src/library_specs.rs b/src/crates/primrose/src/library_specs.rs
index 62b29de..d65f53e 100644
--- a/src/crates/primrose/src/library_specs.rs
+++ b/src/crates/primrose/src/library_specs.rs
@@ -104,7 +104,7 @@ impl LibSpec {
.filter(|path| !path.contains("/mod.rs") && !path.contains("/lib.rs"))
.flat_map(|path| match Self::read(&path) {
Ok(spec) => Some((spec.struct_name.clone(), spec)),
- Err(e) => {
+ Err(_) => {
debug!(
"Failed to process library module {}. Continuing anyway.",
&path