quote.0 -> quote.index()

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-01-24 17:55:31 -08:00
parent ea01f8e191
commit 44e2442b9c

View File

@@ -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()]
} }
} }