Skip to content

Commit a7260f5

Browse files
committed
remove commented code
1 parent d85db24 commit a7260f5

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

src/frontend/operation.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ impl fmt::Display for OperationArg {
4545
}
4646
}
4747

48-
// impl From<Value> for OperationArg {
49-
// fn from(v: Value) -> Self {
50-
// Self::Literal(v)
51-
// }
52-
// }
53-
5448
impl<V: Into<Value>> From<V> for OperationArg {
5549
fn from(value: V) -> Self {
5650
Self::Literal(value.into())
@@ -63,24 +57,6 @@ impl From<&Value> for OperationArg {
6357
}
6458
}
6559

66-
// impl From<&str> for OperationArg {
67-
// fn from(s: &str) -> Self {
68-
// Self::Literal(Value::from(s))
69-
// }
70-
// }
71-
72-
// impl From<i64> for OperationArg {
73-
// fn from(v: i64) -> Self {
74-
// Self::Literal(Value::from(v))
75-
// }
76-
// }
77-
//
78-
// impl From<bool> for OperationArg {
79-
// fn from(b: bool) -> Self {
80-
// Self::Literal(Value::from(b))
81-
// }
82-
// }
83-
8460
impl From<(&SignedPod, &str)> for OperationArg {
8561
fn from((pod, key): (&SignedPod, &str)) -> Self {
8662
// TODO: TryFrom.

src/middleware/basetypes.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ impl Ord for Hash {
197197
}
198198
}
199199

200-
// TODO: In alternate mode, don't shorten the hash
201200
impl fmt::Display for Hash {
202201
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
203202
if f.alternate() {

0 commit comments

Comments
 (0)