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:
f2f2c96
)
shapelib: Fix an improperly quoted item in a doc comment
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 12 May 2022 00:50:31 +0000
(
01:50
+0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/shapelib.rs
b/src/shapelib.rs
index 7daa48e91fdcc9ba9104044cb33d5e6aad2256cd..65e0242f5f083f531284ec14f860e99a45b088f5 100644
(file)
--- a/
src/shapelib.rs
+++ b/
src/shapelib.rs
@@
-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()