Skip to content

Commit 21b48d1

Browse files
committed
fixed the logical error while inserting links from file
1 parent 0f30f33 commit 21b48d1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "abhyas"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
edition = "2021"
55
authors = ["Harshal Jadhav <bestt1315@gmail.com>"]
66
homepage = "https://github.com/halshar/abhyas"

src/utility.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ pub fn run() -> Result<(), CustomErrors> {
125125
Ok(val) => show_green(
126126
format!(
127127
"Inserted {} New Links\nSkipped {} Duplicate Links",
128-
val, links_count
128+
val,
129+
links_count - val
129130
)
130131
.as_str(),
131132
),

0 commit comments

Comments
 (0)