We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d95c4bf commit f81f038Copy full SHA for f81f038
src/init.rs
@@ -384,7 +384,7 @@ impl TemplateBuilder {
384
let config = self
385
.config
386
.as_ref()
387
- .ok_or_else(|| io::Error::new(io::ErrorKind::Other, "Missing configuration"))?;
+ .ok_or_else(|| io::Error::other("Missing configuration"))?;
388
389
if let Some(options) = &config.options {
390
self.context.clear();
@@ -404,7 +404,7 @@ impl TemplateBuilder {
404
405
406
407
408
409
410
let all_defaults = options
0 commit comments