mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
improve gitignore files (#385)
* modified gitignore * fixing gitignore * reomving the himalaya.iml file * applied cargo fmt * fixed typo in .gitignore and removed an entry in it * adding gitignore to cli/ * reducing .gitignore in cli to one line
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Cargo.lock
|
||||
@@ -55,7 +55,8 @@ impl Parts {
|
||||
part: &'a mailparse::ParsedMail<'a>,
|
||||
) -> Result<Self> {
|
||||
let mut parts = vec![];
|
||||
if part.subparts.is_empty() && part.get_headers().get_first_value("content-type").is_none() {
|
||||
if part.subparts.is_empty() && part.get_headers().get_first_value("content-type").is_none()
|
||||
{
|
||||
let content = part.get_body().unwrap_or_default();
|
||||
parts.push(Part::TextPlain(TextPlainPart { content }))
|
||||
} else {
|
||||
|
||||
+2
-1
@@ -134,7 +134,8 @@ impl Print for Cell {
|
||||
.context(format!(r#"cannot apply colors to cell "{}""#, self.value))?;
|
||||
|
||||
// Writes the colorized cell to stdout
|
||||
write!(writer, "{}", self.value).context(format!(r#"cannot print cell "{}""#, self.value))?;
|
||||
write!(writer, "{}", self.value)
|
||||
.context(format!(r#"cannot print cell "{}""#, self.value))?;
|
||||
Ok(writer.reset()?)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user