diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-09 16:14:30 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-09 16:14:30 +0900 |
| commit | 4bb90f5cc8e0347534436612f45a3c22c7e265bb (patch) | |
| tree | 9e7b5de844f456560f826a9631a78cd98c204088 /src/rustfmt_diff.rs | |
| parent | e70e6eb273d449e78349dde9a0980414df102c06 (diff) | |
Fix rust_2018_idioms warnings
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 { |
