Another pass of #[allow()] removal (#3825)
We still have a bunch of leftovers in ui2/theme2 and in gpui2 display_link module. Release Notes: - N/A
This commit is contained in:
parent
1c20a7fc37
commit
d185fca80c
7 changed files with 3 additions and 40 deletions
|
@ -563,7 +563,6 @@ impl Copilot {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)] // todo!()
|
||||
fn sign_out(&mut self, cx: &mut ModelContext<Self>) -> Task<Result<()>> {
|
||||
self.update_sign_in_status(request::SignInStatus::NotSignedIn, cx);
|
||||
if let CopilotServer::Running(RunningCopilotServer { lsp: server, .. }) = &self.server {
|
||||
|
@ -1126,7 +1125,6 @@ mod tests {
|
|||
.update(cx, |copilot, cx| copilot.sign_out(cx))
|
||||
.await
|
||||
.unwrap();
|
||||
// todo!() po: these notifications now happen in reverse order?
|
||||
assert_eq!(
|
||||
lsp.receive_notification::<lsp::notification::DidCloseTextDocument>()
|
||||
.await,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue