mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-10 08:14:01 +00:00
lsp: Remove some unnecessay lines
This commit is contained in:
parent
07a833a2e3
commit
041d2ae73e
1 changed files with 0 additions and 2 deletions
|
|
@ -116,9 +116,7 @@ impl ServerNotifier {
|
||||||
pub fn set_use_external_preview(&self, is_external: bool) {
|
pub fn set_use_external_preview(&self, is_external: bool) {
|
||||||
self.use_external_preview.store(is_external, atomic::Ordering::Release);
|
self.use_external_preview.store(is_external, atomic::Ordering::Release);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
impl ServerNotifier {
|
|
||||||
pub fn send_notification<N: Notification>(&self, params: N::Params) -> Result<()> {
|
pub fn send_notification<N: Notification>(&self, params: N::Params) -> Result<()> {
|
||||||
self.sender.send(Message::Notification(lsp_server::Notification::new(
|
self.sender.send(Message::Notification(lsp_server::Notification::new(
|
||||||
N::METHOD.to_string(),
|
N::METHOD.to_string(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue