Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ui: Remove stray blank lines in ButtonStyle methods (#45822)

Xiaobo Liu324726428871
diff --git a/crates/ui/src/components/button/button_like.rs b/crates/ui/src/components/button/button_like.rs
index 4ce7aeed0d8..9cb7bd85ef1 100644
--- a/crates/ui/src/components/button/button_like.rs
+++ b/crates/ui/src/components/button/button_like.rs
@@ -208,7 +208,6 @@ impl ButtonStyle {
pub(crate) fn enabled(
self,
elevation: Option<ElevationIndex>,
-
cx: &mut App,
) -> ButtonLikeStyles {
match self {
@@ -249,7 +248,6 @@ impl ButtonStyle {
pub(crate) fn hovered(
self,
elevation: Option<ElevationIndex>,
-
cx: &mut App,
) -> ButtonLikeStyles {
match self {