Remove useless debug prints

async
Manos Pitsidianakis 2020-06-22 11:33:03 +03:00
parent 34ed9e2014
commit ca11c8e474
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
3 changed files with 5 additions and 9 deletions

View File

@ -228,7 +228,7 @@ where
};
if let Ok(idx) = TIMEZONE_ABBR.binary_search_by(|probe| probe.0.cmp(rest)) {
let (hr_offset, min_offset) = debug!(TIMEZONE_ABBR[idx]).1;
let (hr_offset, min_offset) = TIMEZONE_ABBR[idx].1;
(hr_offset as i64) * 60 * 60 + (min_offset as i64) * 60
} else {
0

View File

@ -1461,9 +1461,9 @@ impl Listing {
self.set_dirty(true);
context
.replies
.push_back(UIEvent::StatusEvent(StatusEvent::UpdateStatus(debug!(
.push_back(UIEvent::StatusEvent(StatusEvent::UpdateStatus(
self.get_status(context)
))));
)));
self.menu_cursor_pos = self.cursor_pos;
}
}

View File

@ -1163,9 +1163,7 @@ impl CompactListing {
);
#[cfg(feature = "regexp")]
{
for text_formatter in
debug!(crate::conf::text_format_regexps(context, "listing.from"))
{
for text_formatter in crate::conf::text_format_regexps(context, "listing.from") {
let t = self.data_columns.columns[2].insert_tag(text_formatter.tag);
for (start, end) in text_formatter.regexp.find_iter(strings.from.as_str()) {
self.data_columns.columns[2].set_tag(t, (start, idx), (end, idx));
@ -1202,9 +1200,7 @@ impl CompactListing {
);
#[cfg(feature = "regexp")]
{
for text_formatter in
debug!(crate::conf::text_format_regexps(context, "listing.subject"))
{
for text_formatter in crate::conf::text_format_regexps(context, "listing.subject") {
let t = self.data_columns.columns[4].insert_tag(text_formatter.tag);
for (start, end) in text_formatter.regexp.find_iter(strings.subject.as_str()) {
self.data_columns.columns[4].set_tag(t, (start, idx), (end, idx));