chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5caa9df
)
dice: Unwrap surround_path
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 00:34:14 +0000
(
01:34
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 00:34:14 +0000
(
01:34
+0100)
We're making changes here and it's confusing. Make this more
prominent.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/dice.rs
patch
|
blob
|
history
diff --git
a/src/dice.rs
b/src/dice.rs
index cae6969f2694870993b2837f8b4dcb2f7bde8c50..59ec135a449919dc271ee4bc72205bbcccc8b35c 100644
(file)
--- a/
src/dice.rs
+++ b/
src/dice.rs
@@
-313,7
+313,9
@@
impl OutlineTrait for Die {
// apply that to surround_outline's outline_path, rather than its
// surround_path.
#[throws(IE)]
- fn surround_path(&self) -> Html { self.surround_outline.outline_path(1.0)? }
+ fn surround_path(&self) -> Html {
+ self.surround_outline.outline_path(1.0)?
+ }
delegate! {
to self.surround_outline {