grrrr
This commit is contained in:
parent
f0dfa0c238
commit
4e7e050bf6
3 changed files with 3 additions and 6 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -88,7 +88,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "crisp"
|
name = "crisp"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"miette",
|
"miette",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "crisp"
|
name = "crisp"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -122,10 +122,7 @@ impl From<&Value> for String {
|
||||||
fn from(value: &Value) -> Self {
|
fn from(value: &Value) -> Self {
|
||||||
match value {
|
match value {
|
||||||
Value::String(str) => str.clone(),
|
Value::String(str) => str.clone(),
|
||||||
Value::Symbol(Symbol(str)) => {
|
Value::Symbol(Symbol(str)) => str.clone(),
|
||||||
dbg!(str);
|
|
||||||
str.clone()
|
|
||||||
}
|
|
||||||
Value::Keyword(Keyword(str)) => str.clone(),
|
Value::Keyword(Keyword(str)) => str.clone(),
|
||||||
_ => String::default(),
|
_ => String::default(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue