Skip to main content

empty

Function empty 

Source
pub fn empty(origin_description: Option<&str>) -> Config
Expand description

Return an empty Config with no keys.

Equivalent to constructing an empty HOCON document. The resulting Config is always resolved (is_resolved() returns true).

origin_description is the user-visible source name for error messages. Pass None to omit.