Explain runtime invariants and avoid redundant unwraps
This commit is contained in:
1 parent
34f2f07301
commit
1b51ba83b4
116 files changed
+1643
-515
No files matched your search
@@ -163,7 +163,12 @@ impl App {
|
||||
}
|
||||
if accepted
|
||||
&& !super::agent::valid_answer(
|
||||
&self.connections.prompt.as_ref().unwrap().kind,
|
||||
&self
|
||||
.connections
|
||||
.prompt
|
||||
.as_ref()
|
||||
.expect("the pairing reply branch requires an active prompt")
|
||||
.kind,
|
||||
&self.connections.pairing_input,
|
||||
)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user