minor: import Either from either

This commit is contained in:
Ryo Yoshida 2023-02-25 21:50:27 +09:00
parent f5401f6206
commit cf0c8fe000
No known key found for this signature in database
GPG key ID: E25698A930586171
10 changed files with 13 additions and 9 deletions

View file

@ -13,7 +13,7 @@ pub mod prec;
use std::marker::PhantomData;
use itertools::Either;
use either::Either;
use crate::{
syntax_node::{SyntaxNode, SyntaxNodeChildren, SyntaxToken},

View file

@ -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},