mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change @return! syntax to require ":" after faults. Update all contracts to consistently use ":" before the description.
This commit is contained in:
@@ -89,7 +89,7 @@ fn void! NativeMutex.lock(&mtx)
|
||||
|
||||
|
||||
<*
|
||||
@require mtx.timed "Only available for timed locks"
|
||||
@require mtx.timed : "Only available for timed locks"
|
||||
*>
|
||||
fn void! NativeMutex.lock_timeout(&mtx, ulong ms)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user