Skip to content

Commit

Permalink
chore(lsp): remove stale #[allow()] annotation (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillLillis authored Nov 21, 2024
1 parent cc0293b commit ec5320b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion asm-lsp/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,6 @@ impl RootConfig {
/// Will panic if `req_uri` cannot be canonicalized
#[must_use]
pub fn get_project<'a>(&'a self, request_path: &PathBuf) -> Option<&'a ProjectConfig> {
#[allow(irrefutable_let_patterns)]
if let Some(projects) = &self.projects {
for project in projects {
if (project.path.is_dir() && request_path.starts_with(&project.path))
Expand Down

0 comments on commit ec5320b

Please sign in to comment.