diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-09-26 10:03:56 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-09-27 22:07:14 +0200 |
commit | a69ec9f9c5097bb8acd1a4fe2144328c9dc4ade7 (patch) | |
tree | fa6c1e0cfec23336e81e249e29b32acc3e627f28 /openpgp/examples | |
parent | c442cd94a22657b315e825b46ea55edf9169e397 (diff) |
openpgp: Clean up deprecated range syntax
The `...` syntax is deprecated in favour of `..=` since 1.26 and
is an idiom lint in the 2018 edition.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'openpgp/examples')
-rw-r--r-- | openpgp/examples/statistics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/statistics.rs b/openpgp/examples/statistics.rs index 9a3d3ed6..3bcaab3b 100644 --- a/openpgp/examples/statistics.rs +++ b/openpgp/examples/statistics.rs @@ -256,7 +256,7 @@ fn main() { println!("{:>18} {:>9}", match t { 1 => "Image::JPEG".into(), - 100...110 => format!("Image::Private({})", t), + 100..=110 => format!("Image::Private({})", t), _ => format!("Image::Unknown({})", t), }, n); } |