Skip to content

Commit 1220c4b

Browse files
committed
feat: release version 0.1.9
1 parent 02d8616 commit 1220c4b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dotenv_config"
3-
version = "0.1.8"
3+
version = "0.1.9"
44
edition = "2021"
55
authors = ["Hengfei Yang <hengfei.yang@gmail.com>"]
66
description = "parse `env` to config struct for Rust"

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.74.1"
2+
channel = "1.75.0"

src/builder.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct Fd {
3636
attr_name: String,
3737
attr_default: String,
3838
attr_help: String, // new field for storing documentation comments
39-
attr_parse: bool, // weather use FromStr trait to parse into a field
39+
attr_parse: bool, // whether use FromStr trait to parse into a field
4040
}
4141

4242
impl Fd {
@@ -209,11 +209,11 @@ fn get_struct_attribute(input: TokenStream) -> Vec<(String, String)> {
209209
})
210210
.map(|tokens| {
211211
let token0 = tokens[0]
212-
.last()
213-
.unwrap()
214-
.to_string()
215-
.trim_matches(|c: char| c == '"' || c == '\'')
216-
.to_string();
212+
.last()
213+
.unwrap()
214+
.to_string()
215+
.trim_matches(|c: char| c == '"' || c == '\'')
216+
.to_string();
217217
let token1 = if tokens.len() > 1 {
218218
tokens[1]
219219
.last()

0 commit comments

Comments
 (0)