Skip to content

Commit

Permalink
rustfmt: remove conflict with rust
Browse files Browse the repository at this point in the history
`rust` no longer ships `rust-analyzer` and `rustfmt` since Homebrew#140367.
  • Loading branch information
ZhongRuoyu committed Aug 31, 2023
1 parent 6b0ca69 commit 5555e24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Formula/r/rustfmt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class Rustfmt < Formula
depends_on "rustup-init" => :build
depends_on "rust" => :test

conflicts_with "rust", because: "both install `cargo-fmt` and `rustfmt` binaries"

def install
system "#{Formula["rustup-init"].bin}/rustup-init", "-qy", "--no-modify-path"
ENV.prepend_path "PATH", HOMEBREW_CACHE/"cargo_cache/bin"
Expand Down

0 comments on commit 5555e24

Please sign in to comment.