Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Jan 16, 2024
1 parent ad62830 commit b7465c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsc_lib/src/dscresources/dscresource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl DscResource {
}

fn validate_input(&self, input: &str) -> Result<(), DscError> {
if input.len() == 0 {
if input.is_empty() {
return Ok(());
}
let Some(manifest) = &self.manifest else {
Expand Down

0 comments on commit b7465c8

Please sign in to comment.