mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-17 10:00:49 +00:00

This commit does the mechanical changes necessary to remove the old regex-syntax crate and replace it with the rewrite. The rewrite now subsumes the `regex-syntax` crate name, and gets a semver bump to 0.5.0.
9 lines
194 B
Rust
9 lines
194 B
Rust
/// A simple binary sum type.
|
|
///
|
|
/// This is occasionally useful in an ad hoc fashion.
|
|
#[derive(Clone, Debug, Eq, PartialEq)]
|
|
pub enum Either<Left, Right> {
|
|
Left(Left),
|
|
Right(Right),
|
|
}
|