diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2019-02-11 01:12:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-11 01:12:38 +0900 |
| commit | ce682bdabc39a7261eb5c3d43b20bb84fae64fde (patch) | |
| tree | ea0e42f4c8e1b5dbb8721b556645e6cfd5b78a29 /src/rustfmt_diff.rs | |
| parent | fca91bc22f40aaf8e8fc949313b8f5b9c9ac90cc (diff) | |
| parent | 8183b949c49cfdd5889859162e82fab4c8e64065 (diff) | |
Merge pull request #3335 from h-michael/rust-2018
Rust 2018 idioms
Diffstat (limited to 'src/rustfmt_diff.rs')
| -rw-r--r-- | src/rustfmt_diff.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustfmt_diff.rs b/src/rustfmt_diff.rs index 8a74aa47c0c..81778c33ecf 100644 --- a/src/rustfmt_diff.rs +++ b/src/rustfmt_diff.rs @@ -46,7 +46,7 @@ impl Mismatch { // This struct handles writing output to stdout and abstracts away the logic // of printing in color, if it's possible in the executing environment. pub struct OutputWriter { - terminal: Option<Box<term::Terminal<Output = io::Stdout>>>, + terminal: Option<Box<dyn term::Terminal<Output = io::Stdout>>>, } impl OutputWriter { |
