Skip to content

Commit

Permalink
fix: forgot a ) char in a display method (#319)
Browse files Browse the repository at this point in the history
* set grovedbg-types version (#316)

* update grovedbg-types manifest (#317)

* fix: forgot a ) char in a display method

---------

Co-authored-by: fominok <[email protected]>
  • Loading branch information
QuantumExplorer and fominok authored Jul 15, 2024
1 parent 8ada131 commit 7765aa9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion grovedb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ nohash-hasher = { version = "0.2.0", optional = true }
indexmap = { version = "2.2.6"}
intmap = { version = "2.0.0", optional = true }
grovedb-path = { version = "1.0.0-rc.2", path = "../path" }
grovedbg-types = { path = "../grovedbg-types", optional = true }
grovedbg-types = { version = "1.0.0-rc.2", path = "../grovedbg-types", optional = true }
tokio = { version = "1.37.0", features = ["rt-multi-thread", "net"], optional = true }
axum = { version = "0.7.5", features = ["macros"], optional = true }
tower-http = { version = "0.5.2", features = ["fs"], optional = true }
Expand Down
4 changes: 2 additions & 2 deletions grovedb/src/element/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl fmt::Display for Element {
Element::SumItem(sum_value, flags) => {
write!(
f,
"SumItem({}{}",
"SumItem({}{})",
sum_value,
flags
.as_ref()
Expand All @@ -131,7 +131,7 @@ impl fmt::Display for Element {
Element::SumTree(root_key, sum_value, flags) => {
write!(
f,
"SumTree({}, {}{}",
"SumTree({}, {}{})",
root_key.as_ref().map_or("None".to_string(), hex::encode),
sum_value,
flags
Expand Down
6 changes: 5 additions & 1 deletion grovedbg-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[package]
name = "grovedbg-types"
version = "0.1.0"
version = "1.0.0-rc.2"
edition = "2021"
description = "Common type definitions for data exchange over GroveDBG protocol"
authors = ["Evgeny Fomin <[email protected]>"]
license = "MIT"
repository = "https://github.com/dashpay/grovedb"

[dependencies]
serde = { version = "1.0.201", features = ["derive"] }

0 comments on commit 7765aa9

Please sign in to comment.