quote.0 -> quote.index()
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@ impl QuoteTable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn get(&self, quote: Quote) -> &(Span, Scope, Vec<SpStmt>, Rc<Vec<SpInst>>) {
|
pub fn get(&self, quote: Quote) -> &(Span, Scope, Vec<SpStmt>, Rc<Vec<SpInst>>) {
|
||||||
&self.table[quote.0]
|
&self.table[quote.index()]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user