Always skip serializing config's path.

This commit is contained in:
Aaron Weiss 2018-02-18 21:39:06 +01:00
parent c91d14a949
commit 3847bcb5a6
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -93,6 +93,7 @@ pub struct Config {
/// The path that this configuration was loaded from.
///
/// This should not be specified in any configuration. It will automatically be handled by the library.
#[serde(skip_serializing)]
pub path: Option<PathBuf>,
}