Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the warns from cargo clippy #1564

Merged
merged 1 commit into from
Feb 13, 2023
Merged

fix the warns from cargo clippy #1564

merged 1 commit into from
Feb 13, 2023

Conversation

utam0k
Copy link
Member

@utam0k utam0k commented Feb 12, 2023

Signed-off-by: utam0k [email protected]

@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2023

Codecov Report

Merging #1564 (72313bd) into main (188ce0c) will increase coverage by 0.06%.
The diff coverage is 66.86%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1564      +/-   ##
==========================================
+ Coverage   68.71%   68.78%   +0.06%     
==========================================
  Files         120      120              
  Lines       13094    13072      -22     
==========================================
- Hits         8998     8992       -6     
+ Misses       4096     4080      -16     

@YJDoc2
Copy link
Collaborator

YJDoc2 commented Feb 13, 2023

Hey, thanks a lot for opening this 🤗 . As this is not marked WIP, I'll take a look at this and merge if no issue :)

@YJDoc2 YJDoc2 self-requested a review February 13, 2023 05:02
@@ -378,7 +374,7 @@ impl Mount {
if let Some(l) = label {
if typ != Some("proc") && typ != Some("sysfs") {
match mount_option_config.data.is_empty() {
true => d = format!("context=\"{}\"", l),
true => d = format!("context=\"{l}\""),
false => d = format!("{},context=\"{}\"", mount_option_config.data, l),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, why is this part not formatted in the same way? we can format l in the same way here right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure because this changes created by cargo fmt and clippy

Copy link
Collaborator

@YJDoc2 YJDoc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍
Just check the one comment I have left

@utam0k utam0k merged commit da4b278 into youki-dev:main Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants