chiark / gitweb /
Make TomlQuote pub
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 14 May 2022 12:21:11 +0000 (13:21 +0100)
committerIan 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

index 14f2986d7cbb09cd7eb74c7d2ecbe4fd1c14c44b..8c5f58beadd38667bae191e3b06e66e9bd392ee0 100644 (file)
@@ -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.