diff options
author | Sebastian Wiesner <sebastian@swsnr.de> | 2018-12-15 16:48:20 +0100 |
---|---|---|
committer | Sebastian Wiesner <sebastian@swsnr.de> | 2018-12-15 16:48:20 +0100 |
commit | 422347b12ffd07a3657aac157b6bf7f7e56be3e0 (patch) | |
tree | 750c769a779e979ad09efee0a4adec19875e5138 /src | |
parent | 0a030837f4ab8bd0de7b0bae37386f7b13c6ca90 (diff) |
Split another lifetime
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,7 +59,7 @@ where /// /// `push_tty` tries to limit output to the given number of TTY `columns` but /// does not guarantee that output stays within the column limit. -pub fn push_tty<'a, W, I>( +pub fn push_tty<'a, 'e, W, I>( writer: &'a mut W, capabilities: TerminalCapabilities, size: TerminalSize, @@ -69,7 +69,7 @@ pub fn push_tty<'a, W, I>( syntax_set: SyntaxSet, ) -> Result<(), Error> where - I: Iterator<Item = Event<'a>>, + I: Iterator<Item = Event<'e>>, W: Write, { let theme = &ThemeSet::load_defaults().themes["Solarized (dark)"]; |