[wip] Committing before removing Option<T>
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<T>` first.
This commit is contained in:
parent
e735a3eeec
commit
ebc6eaf6ee
1 changed files with 5 additions and 0 deletions
|
@ -149,6 +149,11 @@ async fn traverse(mut result: Multistatus) {
|
||||||
Some(prop) => {
|
Some(prop) => {
|
||||||
match &prop.get_etag {
|
match &prop.get_etag {
|
||||||
Some(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<T>` first.
|
||||||
},
|
},
|
||||||
_ => println!("Something's happening.")
|
_ => println!("Something's happening.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue