mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: error on unused imports
This commit is contained in:

committed by
Alexander Medvednikov

parent
71484e89d6
commit
23c84516e2
@ -4,8 +4,6 @@
|
||||
|
||||
module term
|
||||
|
||||
import os
|
||||
|
||||
fn _format(msg, open, close string) string {
|
||||
return '\x1b[' + open + 'm' + msg + '\x1b[' + close + 'm'
|
||||
}
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
module term
|
||||
|
||||
import os
|
||||
|
||||
pub fn format(msg, open, close string) string {
|
||||
return _format(msg, open, close)
|
||||
}
|
||||
|
Reference in New Issue
Block a user