mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-30 05:12:13 +00:00
Add TODO about improving builder finalize error.
This commit is contained in:
parent
a2f378ab88
commit
c6fbc44888
@ -90,6 +90,7 @@ impl ConfigBuilder {
|
||||
self
|
||||
}
|
||||
|
||||
// TODO: Collect all errors into one `Several` `ConfigError` variant.
|
||||
pub fn finalize(self) -> Result<Config> {
|
||||
let mut config = Config::new(self.environment)?;
|
||||
config.set_address(self.address)?;
|
||||
|
Loading…
Reference in New Issue
Block a user