summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/meter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/meter.rs')
-rw-r--r--alacritty_terminal/src/meter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/src/meter.rs b/alacritty_terminal/src/meter.rs
index 19d7fe70..686dd859 100644
--- a/alacritty_terminal/src/meter.rs
+++ b/alacritty_terminal/src/meter.rs
@@ -30,6 +30,7 @@
//! // Get the moving average. The meter tracks a fixed number of samples, and
//! // the average won't mean much until it's filled up at least once.
//! println!("Average time: {}", meter.average());
+//! ```
use std::time::{Duration, Instant};