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
-6
View File
@@ -1,15 +1,11 @@
//!
//! The compiler warning.
//!
use std::str::FromStr;
use serde::Deserialize;
use serde::Serialize;
///
/// The compiler warning.
///
#[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Warning {
/// The warning for eponymous feature.
@@ -29,9 +25,7 @@ pub enum Warning {
}
impl Warning {
///
/// Converts string arguments into an array of warnings.
///
pub fn try_from_strings(strings: &[String]) -> Result<Vec<Self>, anyhow::Error> {
strings
.iter()