mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: require params
attribute to use struct as keyword arguments in function (#11135)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// that can be found in the LICENSE file.
|
||||
module time
|
||||
|
||||
[params]
|
||||
pub struct StopWatchOptions {
|
||||
auto_start bool = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user