mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: simplify generic structs (#10167)
This commit is contained in:
@ -55,10 +55,9 @@ pub fn panic(s string) {
|
||||
exit(1)
|
||||
}
|
||||
|
||||
struct Option<T> {
|
||||
struct Option {
|
||||
state byte
|
||||
err Error
|
||||
data T
|
||||
}
|
||||
|
||||
pub struct Error {
|
||||
|
Reference in New Issue
Block a user