aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2022-03-18 00:05:48 +0100
committerTeddy Wing2022-03-18 00:05:48 +0100
commit2cf56295d64a42ee6e4d86b1932077480bb51984 (patch)
treedab559771d3e29d32b1385b462f83e68c9485e0c /src
parentbd16ac71423ea5abd3d406d8f9fe579f3fec8ee0 (diff)
downloadyaqlite-2cf56295d64a42ee6e4d86b1932077480bb51984.tar.bz2
yaml::sql::Yaml: Make this type `pub(crate)`
It doesn't need to be completely public.
Diffstat (limited to 'src')
-rw-r--r--src/yaml.rs2
-rw-r--r--src/yaml/sql.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yaml.rs b/src/yaml.rs
index 1ad490c..77665b3 100644
--- a/src/yaml.rs
+++ b/src/yaml.rs
@@ -6,7 +6,7 @@ use std::collections::HashMap;
mod sql;
-pub use sql::*;
+pub(crate) use sql::*;
// TODO: Separate functions to get a list of YAML hashes, and insert hashes into
diff --git a/src/yaml/sql.rs b/src/yaml/sql.rs
index 26ef45f..99353c3 100644
--- a/src/yaml/sql.rs
+++ b/src/yaml/sql.rs
@@ -3,7 +3,7 @@ use yaml_rust::yaml;
use std::borrow::Cow;
-pub struct Yaml<'a>(pub Cow<'a, yaml::Yaml>);
+pub(crate) struct Yaml<'a>(pub Cow<'a, yaml::Yaml>);
// impl<'a, Y> From<Y> for Yaml<'a>
// where Y: Into<yaml_rust::Yaml>