remove as_str() legacy wrappers, callers use .into() directly

This commit is contained in:
damocles 2026-09-11 21:55:04 +02:00
commit 46456f75ce
25 changed files with 46 additions and 128 deletions

View file

@ -54,7 +54,7 @@ pub fn hive_object_name(hive: &str) -> Result<String, Error> {
pub fn render() -> String {
format!(
"path \"{MOUNT}/data/{ROOT}/{}/*\" {{\n capabilities = [\"read\"]\n}}\n",
Kind::Agent.as_str()
<&str>::from(Kind::Agent)
)
}