Skip to content

Add support for Rust lang - #83

Open
dauom wants to merge 1 commit into
chermehdi:masterfrom
dauom:feature/add-rust-lang-support
Open

Add support for Rust lang#83
dauom wants to merge 1 commit into
chermehdi:masterfrom
dauom:feature/add-rust-lang-support

Conversation

@dauom

@dauom dauom commented Jun 7, 2021

Copy link
Copy Markdown

No description provided.

@dauom
dauom marked this pull request as draft June 7, 2021 23:57
@dauom
dauom marked this pull request as ready for review June 7, 2021 23:57

@chermehdi chermehdi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also bump the fix version number in the egor config.

Comment thread commands/batch.go
}
// should not get here.
return ""
panic(fmt.Sprintf("unsupported language: %s", lang))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't panic within a function, the caller is supposed to handle the error (by panicking or doing something else).

@chermehdi

Copy link
Copy Markdown
Owner

Overall the PR looks good, still a couple of small changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants