From: Ian Jackson Date: Sun, 15 May 2022 00:34:14 +0000 (+0100) Subject: dice: Unwrap surround_path X-Git-Tag: otter-1.1.0~149 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=028c0233775043ea914067c2778b70c826154150;p=otter.git dice: Unwrap surround_path We're making changes here and it's confusing. Make this more prominent. Signed-off-by: Ian Jackson --- diff --git a/src/dice.rs b/src/dice.rs index cae6969f..59ec135a 100644 --- 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 {