Skip to content

Commit

Permalink
fix: default Solidity language string
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Nov 14, 2023
1 parent b4a21cd commit 4f9e0bd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/artifacts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,11 @@ pub(crate) type VersionedFilteredSources = BTreeMap<Solc, (Version, FilteredSour
const SOLIDITY: &str = "Solidity";
const YUL: &str = "Yul";

///
/// Default `language` field is set to `"SOLIDITY"`.
/// This indicates the language used for the compiler input is Solidity.
/// Default `language` field is set to `"Solidity"`.
impl Default for CompilerInput {
fn default() -> Self {
CompilerInput {
language: "SOLIDITY".to_string(),
language: SOLIDITY.to_string(),
sources: Sources::default(),
settings: Settings::default(),
}
Expand Down

0 comments on commit 4f9e0bd

Please sign in to comment.