Skip to content

Commit 72cb6bd

Browse files
committed
chore(release): v0.6.1
1 parent 21e1ee0 commit 72cb6bd

4 files changed

Lines changed: 17 additions & 13 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

corn-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "corn-cli"
3-
version = "0.5.0"
3+
version = "0.6.1"
44
edition = "2021"
55
license = "MIT"
66
description = "CLI for Corn, A simple and pain-free configuration language."

libcorn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libcorn"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = "2021"
55
license = "MIT"
66
description = "Parsing engine for Corn, a simple and pain-free configuration language."

libcorn/src/lib.rs

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,20 @@ pub enum Value<'a> {
3939

4040
impl<'a> Display for Value<'a> {
4141
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
42-
write!(f, "{}", match self {
43-
Value::Object(_) => "object",
44-
Value::Array(_) => "array",
45-
Value::String(_) => "string",
46-
Value::EnvString(_) => "string (from environment variable)",
47-
Value::Integer(_) => "integer",
48-
Value::Float(_) => "float",
49-
Value::Boolean(_) => "boolean",
50-
Value::Null(_) => "null"
51-
})
42+
write!(
43+
f,
44+
"{}",
45+
match self {
46+
Value::Object(_) => "object",
47+
Value::Array(_) => "array",
48+
Value::String(_) => "string",
49+
Value::EnvString(_) => "string (from environment variable)",
50+
Value::Integer(_) => "integer",
51+
Value::Float(_) => "float",
52+
Value::Boolean(_) => "boolean",
53+
Value::Null(_) => "null",
54+
}
55+
)
5256
}
5357
}
5458

0 commit comments

Comments
 (0)