We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1ec22f + 3a133f2 commit da3a2fbCopy full SHA for da3a2fb
src/tools/linkchecker/Cargo.toml
@@ -2,6 +2,7 @@
2
name = "linkchecker"
3
version = "0.1.0"
4
authors = ["Alex Crichton <alex@alexcrichton.com>"]
5
+edition = "2018"
6
7
[[bin]]
8
src/tools/linkchecker/main.rs
@@ -14,14 +14,16 @@
14
//! A few whitelisted exceptions are allowed as there's known bugs in rustdoc,
15
//! but this should catch the majority of "broken link" cases.
16
17
+#![deny(rust_2018_idioms)]
18
+
19
use std::collections::hash_map::Entry;
20
use std::collections::{HashMap, HashSet};
21
use std::env;
22
use std::fs;
23
use std::path::{Path, PathBuf, Component};
24
use std::rc::Rc;
25
-use Redirect::*;
26
+use crate::Redirect::*;
27
28
macro_rules! t {
29
($e:expr) => (match $e {
0 commit comments