Skip to content

Commit

Permalink
Remove junk codes
Browse files Browse the repository at this point in the history
  • Loading branch information
keyvank committed Dec 31, 2022
1 parent 1c1fdc2 commit 3eb97bc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ def generate_rust(self):
return "Some(S::from({}))".format(self.constant)


class Add(Hint):
def __init__(self, a, b):
self.a = a
self.b = b

def generate_rust(self):
return a.hint.generate_rust() + " + " + b.hint.generate_rust()


def expand_number(num):
expanded = "+".join(
[
Expand Down Expand Up @@ -235,7 +226,6 @@ def as_variable(self):

def set(self, other):
self.ctx.set(self.as_variable(), other)
self.vars = other

def __mul__(self, other):
if type(other) == int:
Expand Down

0 comments on commit 3eb97bc

Please sign in to comment.