2022-02-25 05:40:41 -06:00
|
|
|
use std::collections::VecDeque;
|
|
|
|
|
|
|
|
pub struct BuildPlanBuilder {
|
|
|
|
acc: VecDeque<(String, String)>,
|
|
|
|
current_provides: String,
|
|
|
|
current_requires: String,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl BuildPlanBuilder {
|
|
|
|
pub fn or(&mut self) -> &mut Self {
|
|
|
|
self.acc.push_back(self.current_provides, self.current_requires);
|
2023-01-04 21:02:10 -06:00
|
|
|
//~^ ERROR method takes 1 argument but 2 arguments were supplied
|
2022-02-25 05:40:41 -06:00
|
|
|
self
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|