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

refactor!: tidy everything up #2

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Conversation

madonuko
Copy link
Member

No description provided.

src/lib.rs Outdated
@@ -60,8 +60,7 @@
// )?;
let mut mount = Mount::builder().flags(self.flags);
if let Some(fstype) = &self.fstype {
let fstype = fstype.as_str();
mount = mount.fstype(FilesystemType::Manual(fstype));
mount = mount.fstype(FilesystemType::Manual(&fstype));

Check warning

Code scanning / clippy

this expression creates a reference which is immediately dereferenced by the compiler Warning

this expression creates a reference which is immediately dereferenced by the compiler
@lleyton lleyton merged commit 3325cd0 into FyraLabs:main Jul 18, 2024
4 checks passed
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.

2 participants