about summary refs log tree commit diff
path: root/src/index.html
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-05-23 17:45:38 +0300
committerVika <vika@fireburn.ru>2022-05-23 18:22:07 +0300
commit067d6c4c08120bb9b93190911bd00adf9159bba1 (patch)
treeada0b00b201b10faeae524e176c1d7c5f7cc2922 /src/index.html
parent32317404bf47ac9db34f954ab74a9e400dc32037 (diff)
downloadkittybox-067d6c4c08120bb9b93190911bd00adf9159bba1.tar.zst
templates: simplify logic
There were lots of unneccesary Option::unwrap() invocations that could
be replaced with `if let` statements. This makes the code cleaner and
less likely to panic in case a corrupted, incomplete or manually
injected MF2-JSON document needs to be rendered.
Diffstat (limited to 'src/index.html')
0 files changed, 0 insertions, 0 deletions