From ebc6eaf6eee292408b5e346e03a82ffd2c4726f6 Mon Sep 17 00:00:00 2001 From: Adam Cooper Date: Thu, 17 Feb 2022 03:02:08 -0500 Subject: [PATCH] [wip] Committing before removing `Option` When I tried to add the next bit here, the borrow checker objected to mutable borrows in lines 136 and 147, borrows it has no problem with now. So I'm going to try to get this working without `Option` first. --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.rs b/src/main.rs index 8befdbf..0676c84 100644 --- a/src/main.rs +++ b/src/main.rs @@ -149,6 +149,11 @@ async fn traverse(mut result: Multistatus) { Some(prop) => { match &prop.get_etag { Some(etag) => { + // 2022-02-17 When I tried to add the next bit here, + // the borrow checker objected to mutable borrows in + // lines 136 and 147. + // As a result, I should try to get this working + // without `Option` first. }, _ => println!("Something's happening.") }