Skip to content

Commit

Permalink
Merge pull request #977 from ltratt/reword
Browse files Browse the repository at this point in the history
Reword an error string and a comment
  • Loading branch information
vext01 authored Feb 16, 2024
2 parents 8dac5d3 + ff00971 commit f3f22da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ykrt/src/trace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ pub(crate) fn default_tracer() -> Result<Arc<dyn Tracer>, Box<dyn Error>> {
}

#[allow(unreachable_code)]
Err("No tracing backend this platform/configuration.".into())
Err("No tracing backend for this platform/configuration.".into())
}

/// Represents a thread which is currently tracing.
/// A thread which is currently recording a trace.
pub(crate) trait TraceRecorder {
/// Stop recording a trace of the current thread and return an iterator which successively
/// produces the traced blocks.
Expand Down

0 comments on commit f3f22da

Please sign in to comment.