diff options
| author | Ryo Yoshida <low.ryoshida@gmail.com> | 2023-02-25 21:50:27 +0900 |
|---|---|---|
| committer | Ryo Yoshida <low.ryoshida@gmail.com> | 2023-02-25 21:55:11 +0900 |
| commit | cf0c8fe0003be7bbb4f57dd553f0eb85ec845099 (patch) | |
| tree | 4eff479fcda6b951830857cdcc23d5f631df1853 /crates/syntax/src | |
| parent | f5401f620699b26ed9d47a1d2e838143a18dbe3b (diff) | |
| download | rust-cf0c8fe0003be7bbb4f57dd553f0eb85ec845099.tar.gz rust-cf0c8fe0003be7bbb4f57dd553f0eb85ec845099.zip | |
minor: import `Either` from `either`
Diffstat (limited to 'crates/syntax/src')
| -rw-r--r-- | crates/syntax/src/ast.rs | 2 | ||||
| -rw-r--r-- | crates/syntax/src/ast/traits.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/syntax/src/ast.rs b/crates/syntax/src/ast.rs index 385a4e0a3ce..679536fe27a 100644 --- a/crates/syntax/src/ast.rs +++ b/crates/syntax/src/ast.rs @@ -13,7 +13,7 @@ pub mod prec; use std::marker::PhantomData; -use itertools::Either; +use either::Either; use crate::{ syntax_node::{SyntaxNode, SyntaxNodeChildren, SyntaxToken}, diff --git a/crates/syntax/src/ast/traits.rs b/crates/syntax/src/ast/traits.rs index aa2b7ed5c8b..bc7b5582318 100644 --- a/crates/syntax/src/ast/traits.rs +++ b/crates/syntax/src/ast/traits.rs @@ -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}, |
