diff options
| author | Fuwn <[email protected]> | 2021-05-23 14:15:04 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-23 14:15:04 -0700 |
| commit | 6ef2affb0610691f5dcea5921b4900a075f46bfb (patch) | |
| tree | fa729a95c48892e7b8f68f11adae6760ff8f1a29 /crates/whirl_config | |
| parent | docs(server): minor doc changes (diff) | |
| download | whirl-6ef2affb0610691f5dcea5921b4900a075f46bfb.tar.xz whirl-6ef2affb0610691f5dcea5921b4900a075f46bfb.zip | |
refactor(config): deprecate refresh method
Diffstat (limited to 'crates/whirl_config')
| -rw-r--r-- | crates/whirl_config/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/whirl_config/src/lib.rs b/crates/whirl_config/src/lib.rs index c2264f2..0a6d225 100644 --- a/crates/whirl_config/src/lib.rs +++ b/crates/whirl_config/src/lib.rs @@ -37,6 +37,10 @@ pub struct Config { } impl Config { /// Re-fetch the configuration from the configuration file. + #[deprecated( + note = "the current implementation of the configurations system automatically performs \ + refreshes, this method has no effects" + )] pub fn refresh() { let _ = config::Config::new().refresh(); } fn load() -> Result<Self, ConfigError> { |