Closed oclyke closed 8 months ago
The example code says expext where it should say expect and the Builder::new() function should take no arguments. The fixed block is below:
expext
expect
Builder::new()
fn main() { fn run() -> Result<(), Box<dyn std::error::Error>> { let mut builder = blanket::builder::Builder::new()?; builder.init()?; builder.require(blanket::resource::CopyFile("/source/index.html", "/dest/index.html"))?; builder.generate()?; Ok(()) } run().expect("expected to exit successfully"); }
The example code says
expext
where it should sayexpect
and theBuilder::new()
function should take no arguments. The fixed block is below: