diff --git a/actix-settings/CHANGES.md b/actix-settings/CHANGES.md index 1b784f7c02..492e44c17d 100644 --- a/actix-settings/CHANGES.md +++ b/actix-settings/CHANGES.md @@ -2,6 +2,10 @@ ## Unreleased +## 0.7.1 + +- Fix doc examples. + ## 0.7.0 - The `ApplySettings` trait now includes a type parameter, allowing multiple types to be implemented per configuration target. diff --git a/actix-settings/Cargo.toml b/actix-settings/Cargo.toml index c67a30f6a4..7da827e64e 100644 --- a/actix-settings/Cargo.toml +++ b/actix-settings/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-settings" -version = "0.7.0" +version = "0.7.1" authors = [ "Joey Ezechiels ", "Rob Ede ", diff --git a/actix-settings/README.md b/actix-settings/README.md index efcdca229a..cbe71fa90a 100644 --- a/actix-settings/README.md +++ b/actix-settings/README.md @@ -3,9 +3,9 @@ > Easily manage Actix Web's settings from a TOML file and environment variables. [![crates.io](https://img.shields.io/crates/v/actix-settings?label=latest)](https://crates.io/crates/actix-settings) -[![Documentation](https://docs.rs/actix-settings/badge.svg?version=0.7.0)](https://docs.rs/actix-settings/0.7.0) +[![Documentation](https://docs.rs/actix-settings/badge.svg?version=0.7.1)](https://docs.rs/actix-settings/0.7.1) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-settings) -[![Dependency Status](https://deps.rs/crate/actix-settings/0.7.0/status.svg)](https://deps.rs/crate/actix-settings/0.7.0) +[![Dependency Status](https://deps.rs/crate/actix-settings/0.7.1/status.svg)](https://deps.rs/crate/actix-settings/0.7.1) ## Documentation & Resources diff --git a/actix-settings/src/lib.rs b/actix-settings/src/lib.rs index 33c46b6304..d837759af9 100644 --- a/actix-settings/src/lib.rs +++ b/actix-settings/src/lib.rs @@ -194,7 +194,7 @@ where /// use actix_settings::{Settings, Mode}; /// /// # fn inner() -> Result<(), actix_settings::Error> { - /// let mut settings = Settings::from_default_template()?; + /// let mut settings = Settings::from_default_template(); /// assert_eq!(settings.actix.mode, Mode::Development); /// /// Settings::override_field(&mut settings.actix.mode, "production")?; @@ -219,7 +219,7 @@ where /// std::env::set_var("OVERRIDE__MODE", "production"); /// /// # fn inner() -> Result<(), actix_settings::Error> { - /// let mut settings = Settings::from_default_template()?; + /// let mut settings = Settings::from_default_template(); /// assert_eq!(settings.actix.mode, Mode::Development); /// /// Settings::override_field_with_env_var(&mut settings.actix.mode, "OVERRIDE__MODE")?;