Skip to content

Commit

Permalink
remove unnecessary f-string formatting (#4026)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xemnas0 committed Apr 19, 2023
1 parent c4cda30 commit f13a161
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use crate::rules::tryceratops::helpers::LoggerCandidateVisitor;
/// try:
/// ...
/// except ValueError as e:
/// logger.exception(f"Found an error")
/// logger.exception("Found an error")
/// ```
#[violation]
pub struct VerboseLogMessage;
Expand Down

0 comments on commit f13a161

Please sign in to comment.