MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / as_str

Function as_str

euralios_std/src/env.rs:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15pub fn as_str() -> Result<&'static str, Utf8Error> {
16 from_utf8(get_env())
17}
18
19pub struct Vars {
20 envs: String,

Callers 2

varsFunction · 0.85
varFunction · 0.85

Calls 1

get_envFunction · 0.85

Tested by

no test coverage detected