summaryrefslogtreecommitdiffstats
path: root/src/value.rs
diff options
context:
space:
mode:
authorMatthew Edwards <matthew.edwards@riotgames.com>2021-06-03 08:40:55 -0700
committerMatthew Edwards <matthew.edwards@riotgames.com>2021-06-03 08:40:55 -0700
commit8756dd05307aae6edf78d6fc946d42c602808f64 (patch)
tree0a1a1b82709498d5b2f744c2548c04503d7dac44 /src/value.rs
parent3e5cae69c4a0057ed523df2e8d42db83f7e684ba (diff)
ValueKind is now public to users of the crate
Diffstat (limited to 'src/value.rs')
-rw-r--r--src/value.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.rs b/src/value.rs
index 6a2af76..8db5fcc 100644
--- a/src/value.rs
+++ b/src/value.rs
@@ -7,6 +7,10 @@ use serde::de::{Deserialize, Deserializer, Visitor};
use crate::error::*;
/// Underlying kind of the configuration value.
+///
+/// Standard operations on a `Value` by users of this crate do not require
+/// knowledge of `ValueKind`. Introspection of underlying kind is only required
+/// when the configuration values are unstructured or do not have known types.
#[derive(Debug, Clone, PartialEq)]
pub enum ValueKind {
Nil,