Skip to content

Fix compilation error#65

Open
deejayem wants to merge 1 commit intodduan:mainfrom
deejayem:fix-compilation
Open

Fix compilation error#65
deejayem wants to merge 1 commit intodduan:mainfrom
deejayem:fix-compilation

Conversation

@deejayem
Copy link

@deejayem deejayem commented Jul 3, 2023

When trying to compile ea to test #64 I also got the following error

Compiling ea-command v0.2.1 (/home/djm/src/ea)
error: the borrowed expression implements the required traits
--> src/archive.rs:38:21
|
38 |     fs::write(path, &data)
|                     ^^^^^ help: change this to: `data`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`

error: could not compile `ea-command` (lib) due to previous error

This PR fixes the error.

@deejayem
Copy link
Author

Possibly this PR isn't needed, but only #64. At least in nixpkgs it's working with just that one, and without this one (NixOS/nixpkgs#247493).

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.

1 participant