mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
minor: import Either
from either
This commit is contained in:
parent
f5401f6206
commit
cf0c8fe000
10 changed files with 13 additions and 9 deletions
|
@ -13,7 +13,7 @@ pub mod prec;
|
|||
|
||||
use std::marker::PhantomData;
|
||||
|
||||
use itertools::Either;
|
||||
use either::Either;
|
||||
|
||||
use crate::{
|
||||
syntax_node::{SyntaxNode, SyntaxNodeChildren, SyntaxToken},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! Various traits that are implemented by ast nodes.
|
||||
//!
|
||||
//! The implementations are usually trivial, and live in generated.rs
|
||||
use itertools::Either;
|
||||
use either::Either;
|
||||
|
||||
use crate::{
|
||||
ast::{self, support, AstChildren, AstNode, AstToken},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue