File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,6 @@ impl From<(MemoryReference, Span)> for LookupTarget {
3333 }
3434}
3535
36- impl LookupTarget {
37- fn span ( & self ) -> & Span {
38- match self {
39- LookupTarget :: Hash ( span)
40- | LookupTarget :: Symbol ( _, span)
41- | LookupTarget :: MemRef ( _, span) => span,
42- }
43- }
44- }
45-
4636impl Display for LookupTarget {
4737 fn fmt ( & self , f : & mut Formatter < ' _ > ) -> Result < ( ) , fmt:: Error > {
4838 match self {
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ where
185185{
186186 choice ( (
187187 here ( script_required) ,
188- named_symbol ( script_required) . map ( |name| SymbolOrHere :: Named ( name ) ) ,
188+ named_symbol ( script_required) . map ( SymbolOrHere :: Named ) ,
189189 ) )
190190 . labelled ( "symex (symbol)" )
191191}
@@ -274,7 +274,7 @@ where
274274 superscript_literal_config_value,
275275 superscript_symbolic_config_value,
276276 ) )
277- . map ( |config| InstructionFragment :: Config ( config ) )
277+ . map ( InstructionFragment :: Config )
278278}
279279
280280fn program_instruction_fragments < ' srcbody , I > (
You can’t perform that action at this time.
0 commit comments