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:
5c2a84c
)
Make TomlQuote pub
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 12:21:11 +0000
(13:21 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 12:29:22 +0000
(13:29 +0100)
Like it should have been.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/utils.rs
patch
|
blob
|
history
diff --git
a/src/utils.rs
b/src/utils.rs
index 14f2986d7cbb09cd7eb74c7d2ecbe4fd1c14c44b..8c5f58beadd38667bae191e3b06e66e9bd392ee0 100644
(file)
--- a/
src/utils.rs
+++ b/
src/utils.rs
@@
-335,7
+335,7
@@
impl<Y: Sync, E: Sync, F: Sync + FnOnce() -> Result<Y,E>>
//========== toml ====================
#[derive(Debug,Copy,Clone,Eq,PartialEq,Ord,PartialOrd)]
-struct TomlQuote<'s>(pub &'s str);
+
pub
struct TomlQuote<'s>(pub &'s str);
// We reimplement this because the toml crate doesn't expose it, and
// looking at the github issues etc. for that crate isn't encuraging.