use normal style for comments

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-05-01 16:12:32 +02:00
parent 72515254fe
commit 426f673b0a
184 changed files with 3 additions and 1789 deletions
-14
View File
@@ -1,6 +1,4 @@
//!
//! Solidity to EraVM compiler library.
//!
pub(crate) mod build;
pub(crate) mod r#const;
@@ -48,9 +46,7 @@ pub mod tests;
use std::collections::BTreeSet;
use std::path::PathBuf;
///
/// Runs the Yul mode.
///
pub fn yul(
input_files: &[PathBuf],
solc: &mut SolcCompiler,
@@ -94,9 +90,7 @@ pub fn yul(
Ok(build)
}
///
/// Runs the LLVM IR mode.
///
pub fn llvm_ir(
input_files: &[PathBuf],
optimizer_settings: revive_llvm_context::OptimizerSettings,
@@ -126,9 +120,7 @@ pub fn llvm_ir(
Ok(build)
}
///
/// Runs the EraVM assembly mode.
///
pub fn zkasm(
input_files: &[PathBuf],
include_metadata_hash: bool,
@@ -157,9 +149,7 @@ pub fn zkasm(
Ok(build)
}
///
/// Runs the standard output mode.
///
#[allow(clippy::too_many_arguments)]
pub fn standard_output(
input_files: &[PathBuf],
@@ -250,9 +240,7 @@ pub fn standard_output(
Ok(build)
}
///
/// Runs the standard JSON mode.
///
#[allow(clippy::too_many_arguments)]
pub fn standard_json(
solc: &mut SolcCompiler,
@@ -332,9 +320,7 @@ pub fn standard_json(
std::process::exit(0);
}
///
/// Runs the combined JSON mode.
///
#[allow(clippy::too_many_arguments)]
pub fn combined_json(
format: String,