chiark / gitweb /
shapelib: Fix an improperly quoted item in a doc comment
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 May 2022 00:50:31 +0000 (01:50 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 May 2022 00:55:36 +0000 (01:55 +0100)
Without the quotes, rustdoc wants this to be a hyperlink.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs

index 7daa48e91fdcc9ba9104044cb33d5e6aad2256cd..65e0242f5f083f531284ec14f860e99a45b088f5 100644 (file)
@@ -721,7 +721,7 @@ pub trait OutlineDefn: Debug + Sync + Send + 'static {
   /// Success or failure must not depend on `svg_sz`
   ///
   /// Called to *check* the group configuration before load, but
-  /// with a dummy svg_gz of [1,1].  That must correctly predict
+  /// with a dummy svg_gz of `[1,1]`.  That must correctly predict
   /// success with other sizes.
   fn load(&self, size: PosC<f64>) -> Outline {
     RectShape { xy: size }.into()