gpui: Remove unnecessary String (#31314)
Replaces a `String` with `&'static str` Release Notes: - N/A
This commit is contained in:
parent
206be2b348
commit
8b59776320
3 changed files with 7 additions and 11 deletions
|
@ -1463,7 +1463,7 @@ impl LinuxClient for X11Client {
|
|||
CursorStyle::None => create_invisible_cursor(&state.xcb_connection).log_err(),
|
||||
_ => state
|
||||
.cursor_handle
|
||||
.load_cursor(&state.xcb_connection, &style.to_icon_name())
|
||||
.load_cursor(&state.xcb_connection, style.to_icon_name())
|
||||
.log_err(),
|
||||
}) else {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue