mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs: document more builtin functions/methods (#14229)
This commit is contained in:
committed by
GitHub
parent
dcdfdf4dd8
commit
a2338dbb7c
@@ -64,6 +64,7 @@ fn panic_debug(line_no int, file string, mod string, fn_name string, s string) {
|
||||
vhalt()
|
||||
}
|
||||
|
||||
// panic_optional_not_set prints given optional not set and exits the process
|
||||
[noreturn]
|
||||
pub fn panic_optional_not_set(s string) {
|
||||
panic('optional not set ($s)')
|
||||
|
||||
Reference in New Issue
Block a user