瀏覽代碼

Fix a small typo affecting `Expression::GetRef` (#1793)

From what I can tell, this change affects no tests.

Signed-off-by: Samuel Moelius <samuel.moelius@trailofbits.com>
Samuel Moelius 6 月之前
父節點
當前提交
b87a7f0f9b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/codegen/cfg.rs

+ 1 - 1
src/codegen/cfg.rs

@@ -983,7 +983,7 @@ impl ControlFlowGraph {
                 )
             }
             Expression::GetRef { expr, .. } => {
-                format!("(deref {}", self.expr_to_string(contract, ns, expr))
+                format!("(deref {})", self.expr_to_string(contract, ns, expr))
             }
             Expression::VectorData { pointer } => {
                 format!("pointer pos {}", self.expr_to_string(contract, ns, pointer))