diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-18 10:23:42 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-18 14:19:39 +0100 |
commit | 9aa56fcb69e53aedc20973c5c6284d3e277f92fe (patch) | |
tree | 62cd4ba8b65a4251b2d033458e50382869cb178c /src/commands/lint.rs | |
parent | 0a3c5e2931f261b4476b1ab716755a356252a423 (diff) |
Add comments on subcommand implementations
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/commands/lint.rs')
-rw-r--r-- | src/commands/lint.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/lint.rs b/src/commands/lint.rs index 077cbca..c7e7168 100644 --- a/src/commands/lint.rs +++ b/src/commands/lint.rs @@ -20,6 +20,7 @@ use crate::package::PackageName; use crate::package::PackageVersionConstraint; use crate::util::progress::ProgressBars; +/// Implementation of the "lint" subcommand pub async fn lint(repo_path: &Path, matches: &ArgMatches, progressbars: ProgressBars, config: &Configuration, repo: Repository) -> Result<()> { let linter = crate::ui::find_linter_command(repo_path, config)? .ok_or_else(|| anyhow!("No linter command found"))?; |