Refactor to use SharedString in more places (#23813)

Splitting this off from
https://github.com/zed-industries/zed/pull/23808, per @maxdeviant's
suggestion!

Release Notes:

- N/A

---------

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Richard Feldman
2025-01-28 19:04:21 -05:00
committed by GitHub
co-authored by Nathan
parent 92a1cb893f
commit 33d1145c3f
15 changed files with 45 additions and 25 deletions
@@ -69,7 +69,7 @@ impl QuickActionBar {
return self.render_repl_launch_menu(spec, cx);
}
SessionSupport::RequiresSetup(language) => {
return self.render_repl_setup(&language.0, cx);
return self.render_repl_setup(language.as_ref(), cx);
}
SessionSupport::Unsupported => return None,
};