Skip to content

Commit 1246f72

Browse files
authored
Merge bf9124a into ad3697c
2 parents ad3697c + bf9124a commit 1246f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

abort/abort.mbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
///
2424
/// Returns a value of type `T`. However, this function never actually returns a
2525
/// value as it always causes a panic.
26-
pub fn abort[T](msg : String) -> T {
26+
pub fn[T] abort(msg : String) -> T {
2727
let _ = msg
2828
panic_impl()
2929
}
3030

3131
///|
32-
fn panic_impl[T]() -> T = "%panic"
32+
fn[T] panic_impl() -> T = "%panic"

0 commit comments

Comments
 (0)