diff options
| author | Nick Cameron <nrc@ncameron.org> | 2018-09-03 13:25:35 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-03 13:25:35 +1200 |
| commit | 2291be7fa1ef8b38483ea1c76e465931d9d6647b (patch) | |
| tree | f833877ef356e81ee9d5f6f2d765eee16fec3a60 /src/format-diff | |
| parent | a67208f212657f94833792148e3e3e09fe0785ba (diff) | |
| parent | 968affc3e0bd713d2e4c46f273eca8b988c469ae (diff) | |
Merge pull request #2992 from max-sixty/clippy2
Clippy 2/2
Diffstat (limited to 'src/format-diff')
| -rw-r--r-- | src/format-diff/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format-diff/main.rs b/src/format-diff/main.rs index 37ad4f35a1d..d509a4429b4 100644 --- a/src/format-diff/main.rs +++ b/src/format-diff/main.rs @@ -214,7 +214,7 @@ where #[test] fn scan_simple_git_diff() { - const DIFF: &'static str = include_str!("test/bindgen.diff"); + const DIFF: &str = include_str!("test/bindgen.diff"); let (files, ranges) = scan_diff(DIFF.as_bytes(), 1, r".*\.rs").expect("scan_diff failed?"); assert!( |
