mirror of
https://github.com/helix-editor/helix.git
synced 2026-10-28 10:04:53 +08:00
helix-lsp-types: use bitflags::bitflags rather than extern crate
This seems to be a historical artifact in `lsp_types` - we can use a regular `use` statement to pull in the `bitflags!` macro rather than an external crate definition. This fixes rust-analyzer's ability to find the macro at least on rust-analyzer 2024-02-26.
This commit is contained in:
1 file changed
+2
-2
@@ -16,8 +16,8 @@ able to parse any URI, such as `urn:isbn:0451450523`.
|
||||
*/
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![forbid(unsafe_code)]
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
||||
use bitflags::bitflags;
|
||||
|
||||
use std::{collections::HashMap, fmt::Debug};
|
||||
|
||||
|
||||
Reference in new issue
Block a user