aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/config.rs')
-rw-r--r--crates/shirabe/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/config.rs b/crates/shirabe/src/config.rs
index d6bee9e..e036625 100644
--- a/crates/shirabe/src/config.rs
+++ b/crates/shirabe/src/config.rs
@@ -583,7 +583,7 @@ impl Config {
self.get_with_flags(key, 0).unwrap_or(PhpMixed::Null)
}
- // TODO(phase-b): typed convenience; PHP's Config::get() returns mixed.
+ /// Typed convenience accessor for keys whose `get()` value is always a string.
pub fn get_str(&self, key: &str) -> Result<String> {
Ok(self
.get_with_flags(key, 0)?