diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-07 12:12:17 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-02-08 09:37:04 +0100 |
commit | c46a2ee433b6de462cea1d8782c73f76553ecc8a (patch) | |
tree | 3b7a67c7a58bb4afda8362044b9e390273e84abb /shell.nix | |
parent | 2d82860bbd867a328fa1ab21e77705439ba4636b (diff) |
Fix: Do not borrow mutable twice
This fixes a bug which caused butido to crash in case of `else` in the snippet
changed here.
This was because in the `else`-case, we borrow mutably what was already mutably
borrowed, causing a panic.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'shell.nix')
0 files changed, 0 insertions, 0 deletions