mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
Merge #1701
1701: Remove unneeded file r=pksunkara a=CreepySkeleton Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
This commit is contained in:
commit
cc79c432a4
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
|||
struct RelationArg<'a, T> {
|
||||
args: Vec<T>,
|
||||
value: Option<&'a [u8]>,
|
||||
modifier: RelationModifier
|
||||
}
|
||||
|
||||
enum RelationModifier {
|
||||
All,
|
||||
Any,
|
||||
None
|
||||
}
|
||||
|
||||
enum RelationKind<'a, T> {
|
||||
Present(RelationArg<'a, T>),
|
||||
NotPresent(RelationArg<'a, T>),
|
||||
None
|
||||
}
|
||||
|
||||
struct Relations<'a, T>(Vec<RelationKind<'a, T>>);
|
||||
|
||||
impl<'a, T> Relation<'a, T> where T: Eq {
|
||||
fn is_sat(&self, &[T]) -> bool {
|
||||
for r in self.
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue