Skip to content

Commit

Permalink
rename after refactor to RustExpr - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lemastero committed Dec 18, 2023
1 parent 6a8ae2d commit fa7e834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Agda/Compiler/Rust/PrettyPrintRustExpr.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Agda.Compiler.Rust.PrettyPrintRustExpr ( prettyPrintRustExpr ) where
module Agda.Compiler.Rust.PrettyPrintRustExpr ( prettyPrintRustExpr, moduleHeader ) where

import Data.List ( intersperse )
import Agda.Compiler.Rust.CommonTypes ( CompiledDef )
Expand Down Expand Up @@ -61,4 +61,3 @@ prettyPrintFunctionBody fBody = "return" <> exprSeparator <> fBody <> ";"

moduleHeader :: String -> String
moduleHeader mName = "mod" <> exprSeparator <> mName <> exprSeparator

2 changes: 1 addition & 1 deletion test/RustBackendTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Test.HUnit (
, runTestTT)
import System.Exit ( exitFailure , exitSuccess )
import Agda.Compiler.Rust.Backend ( backend, defaultOptions )
import Agda.Compiler.Rust.AgdaToRustExpr ( moduleHeader )
import Agda.Compiler.Rust.PrettyPrintRustExpr ( moduleHeader )

import Agda.Compiler.Backend ( isEnabled )

Expand Down

0 comments on commit fa7e834

Please sign in to comment.