deleted redundancy
This commit is contained in:
parent
397a970a2c
commit
b9bc497271
1 changed files with 0 additions and 4 deletions
|
|
@ -133,10 +133,6 @@ struct Rule {
|
|||
}
|
||||
|
||||
impl Rule {
|
||||
fn new(start: i64, end: i64, offset: i64) -> Rule {
|
||||
Rule {start, end, offset}
|
||||
}
|
||||
|
||||
fn from_rules(dest: i64, source: i64, range: i64) -> Rule {
|
||||
Rule {start: source, end: source + range - 1, offset: (dest - source)}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue