Skip to content

Commit 289473f

Browse files
committed
fix(doc): minor lint fixes
Signed-off-by: leofvo <leofvo@proton.me>
1 parent 405f05d commit 289473f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ jobs:
8787

8888
- name: Run rustdoc lints
8989
uses: actions-rs/cargo@v1
90-
env:
91-
RUSTDOCFLAGS: '-D missing_docs -D rustdoc::missing_doc_code_examples'
9290
with:
9391
command: doc
9492
args: --workspace --all-features --no-deps --document-private-items

src/input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ fn parse_range(input: &str) -> Result<PortRange, String> {
6868
/// Fast Port Scanner built in Rust.
6969
/// WARNING Do not use this program against sensitive infrastructure since the
7070
/// specified server may not be able to handle this many socket connections at once.
71-
/// - Discord https://discord.gg/GFrQsGy
72-
/// - GitHub https://github.com/RustScan/RustScan
71+
/// - Discord <http://discord.skerritt.blog>
72+
/// - GitHub <https://github.com/RustScan/RustScan>
7373
pub struct Opts {
7474
/// A comma-delimited list or newline-delimited file of separated CIDRs, IPs, or hosts to be scanned.
7575
#[structopt(short, long, use_delimiter = true)]

src/port_strategy/range_iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct RangeIterator {
1313

1414
/// An iterator that follows the `Linear Congruential Generator` algorithm.
1515
///
16-
/// For more information: https://en.wikipedia.org/wiki/Linear_congruential_generator
16+
/// For more information: <https://en.wikipedia.org/wiki/Linear_congruential_generator>
1717
impl RangeIterator {
1818
/// Receives the the start and end of a range and normalize
1919
/// these values before selecting a coprime for the end of the range

0 commit comments

Comments
 (0)