File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed
Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff 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-
5448impl < 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-
8460impl From < ( & SignedPod , & str ) > for OperationArg {
8561 fn from ( ( pod, key) : ( & SignedPod , & str ) ) -> Self {
8662 // TODO: TryFrom.
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ impl Ord for Hash {
197197 }
198198}
199199
200- // TODO: In alternate mode, don't shorten the hash
201200impl fmt:: Display for Hash {
202201 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
203202 if f. alternate ( ) {
You can’t perform that action at this time.
0 commit comments