mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: do not generate import
statements for auto imports (#7966)
This commit is contained in:
@ -2228,8 +2228,6 @@ a property of the individual channel object. Channels can be passed to coroutine
|
||||
variables:
|
||||
|
||||
```v
|
||||
import sync
|
||||
|
||||
fn f(ch chan int) {
|
||||
// ...
|
||||
}
|
||||
@ -2331,8 +2329,6 @@ if select {
|
||||
|
||||
For special purposes there are some builtin properties and methods:
|
||||
```v nofmt
|
||||
import sync
|
||||
|
||||
struct Abc{x int}
|
||||
|
||||
a := 2.13
|
||||
|
Reference in New Issue
Block a user