Skip to content

Commit

Permalink
justify the single_call_fn lint
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Apr 7, 2024
1 parent 1cfe2b6 commit e72250e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ implicit_return = "allow" # We want to encourage implicit return in this
question_mark_used = "allow" # We like using ? as a way to shorten code.
module_name_repetitions = "allow" # I don't mind it as it makes the functions more readable.
absolute_paths = "allow" # I like using absoulut paths in function calls.
single_call_fn = "allow" # We prefer to have shorter functions even if they are only used once.


arithmetic_side_effects = "allow"
Expand All @@ -89,5 +90,4 @@ get_unwrap = "allow"
ignored_unit_patterns = "allow"
let_underscore_untyped = "allow"
shadow_reuse = "allow"
single_call_fn = "allow"
unnecessary_wraps = "allow"

0 comments on commit e72250e

Please sign in to comment.