chiark / gitweb /
dice: Unwrap surround_path
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 00:34:14 +0000 (01:34 +0100)
committerIan 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

index cae6969f2694870993b2837f8b4dcb2f7bde8c50..59ec135a449919dc271ee4bc72205bbcccc8b35c 100644 (file)
@@ -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 {