Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun committed Aug 13, 2024
1 parent 6ec668b commit 61229f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/filter/level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use log::Metadata;
use crate::filter::Filter;
use crate::filter::FilterResult;

/// A filter that checks if the log level is at higher than the specified level.
/// A filter that checks if the log level is higher than the specified level.
///
/// From least to most verbose, the levels are:
///
Expand Down
4 changes: 2 additions & 2 deletions src/filter/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ use crate::filter::FilterResult;
/// A filter that checks if the log level is higher than the specified level for a specific
/// target.
///
/// If the target has a prefix that matches the target of the log record, the filter will be
/// applied.
/// Only if the target has a prefix that matches the target of the log record, the filter
/// will be applied.
#[derive(Debug, Clone)]
pub struct TargetFilter {
target: Cow<'static, str>,
Expand Down

0 comments on commit 61229f8

Please sign in to comment.