mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
rlp/rlpgen: remove comments
This commit is contained in:
parent
00a5387995
commit
5a00294c63
1 changed files with 0 additions and 2 deletions
|
|
@ -189,10 +189,8 @@ func (ctx *genContext) importsList() []string {
|
|||
imp := make([]string, 0, len(ctx.imports))
|
||||
for path, p := range ctx.imports {
|
||||
if p.alias == p.pkg.Name() {
|
||||
// If the alias matches the package name, use standard import
|
||||
imp = append(imp, fmt.Sprintf("%q", path))
|
||||
} else {
|
||||
// If we have a custom alias, use aliased import
|
||||
imp = append(imp, fmt.Sprintf("%s %q", p.alias, path))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue