Skip to content

Commit

Permalink
Borrowck: clenaup
Browse files Browse the repository at this point in the history
gcc/rust/ChangeLog:

	* checks/errors/borrowck/rust-borrow-checker.h: Cleanup.

Signed-off-by: Jakub Dupak <[email protected]>
  • Loading branch information
jdupak committed Dec 3, 2023
1 parent 0e7f74b commit 2cb5332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcc/rust/checks/errors/borrowck/rust-borrow-checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class BorrowChecker

public:
explicit BorrowChecker (bool enable_dump_bir)
: enable_dump_bir (enable_dump_bir){};
: enable_dump_bir (enable_dump_bir)
{}

/** Perform borrow-checking using polonius on an entire crate */
void go (HIR::Crate &crate);
Expand Down

0 comments on commit 2cb5332

Please sign in to comment.