Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Remove () from isize(). #66

Merged
merged 1 commit into from
May 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lowering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn lower<F, L>(raw_analysis: Vec<raw::Crate>, base_dir: &Path, full_docs: bo
}

let time = t_start.elapsed();
let rss = util::get_resident().unwrap_or(0) as isize - rss as isize();
let rss = util::get_resident().unwrap_or(0) as isize - rss as isize;
info!("Total lowering time: {:.2}s", time.as_secs() as f64 + time.subsec_nanos() as f64 / 1_000_000_000.0);
info!("Diff in rss: {:.2}KB", rss as f64 / 1000.0);

Expand Down