remove as_str() legacy wrappers, callers use .into() directly
This commit is contained in:
parent
299add158f
commit
46456f75ce
25 changed files with 46 additions and 128 deletions
|
|
@ -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)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue