From: Ian Jackson Date: Sun, 6 Dec 2020 01:31:20 +0000 (+0000) Subject: formatting, some from rustfmt (manually picked) X-Git-Tag: otter-0.2.0~229 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=50a1ae2873386d5fe9990833bb3b76c84a309ab7;p=otter.git formatting, some from rustfmt (manually picked) Signed-off-by: Ian Jackson --- diff --git a/src/shapelib.rs b/src/shapelib.rs index 7b00c38d..fc7e582a 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -184,7 +184,7 @@ impl Piece for Item { face.scale[0], face.scale[1], -face.centre[0], -face.centre[1], svgd.0)?; } - fn describe_html(&self, face : Option) -> Html { + fn describe_html(&self, face: Option) -> Html { self.descs[ match face { Some(face) => self.faces[face].desc, None => self.desc_hidden, @@ -194,7 +194,7 @@ impl Piece for Item { fn itemname(&self) -> &str { &self.itemname } } -static SHAPELIBS : RwLock> = const_rwlock(None); +static SHAPELIBS: RwLock> = const_rwlock(None); #[throws(SpecError)] pub fn libs_lookup(libname: &str)