WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 02c31d8

Browse files
committed
feat: bump edition
1 parent e7fd519 commit 02c31d8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "configparser"
33
version = "3.2.0"
44
authors = ["QEDK <[email protected]>"]
5-
edition = "2021"
5+
edition = "2024"
66
description = "A simple configuration parsing utility with no dependencies that allows you to parse INI and ini-style syntax. You can use this to write Rust programs which can be customized by end users easily."
77
homepage = "https://github.com/QEDK/configparser-rs"
88
repository = "https://github.com/QEDK/configparser-rs"

src/ini.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ impl Ini {
498498
"couldn't read {}: {}",
499499
&path.as_ref().display(),
500500
why
501-
))
501+
));
502502
}
503503
Ok(s) => s,
504504
}) {
@@ -507,7 +507,7 @@ impl Ini {
507507
"couldn't read {}: {}",
508508
&path.as_ref().display(),
509509
why
510-
))
510+
));
511511
}
512512
Ok(map) => map,
513513
};
@@ -541,7 +541,7 @@ impl Ini {
541541
"couldn't read {}: {}",
542542
&path.as_ref().display(),
543543
why
544-
))
544+
));
545545
}
546546
Ok(s) => s,
547547
}) {
@@ -550,7 +550,7 @@ impl Ini {
550550
"couldn't read {}: {}",
551551
&path.as_ref().display(),
552552
why
553-
))
553+
));
554554
}
555555
Ok(map) => map,
556556
};
@@ -865,7 +865,7 @@ impl Ini {
865865
return Err(format!(
866866
"line {}: Started with indentation but there is no current entry",
867867
num,
868-
))
868+
));
869869
}
870870
};
871871

@@ -1336,7 +1336,7 @@ impl Ini {
13361336
"couldn't read {}: {}",
13371337
&path.as_ref().display(),
13381338
why
1339-
))
1339+
));
13401340
}
13411341
Ok(s) => s,
13421342
}) {
@@ -1345,7 +1345,7 @@ impl Ini {
13451345
"couldn't read {}: {}",
13461346
&path.as_ref().display(),
13471347
why
1348-
))
1348+
));
13491349
}
13501350
Ok(map) => map,
13511351
};
@@ -1370,7 +1370,7 @@ impl Ini {
13701370
"couldn't read {}: {}",
13711371
&path.as_ref().display(),
13721372
why
1373-
))
1373+
));
13741374
}
13751375
Ok(s) => s,
13761376
}) {
@@ -1379,7 +1379,7 @@ impl Ini {
13791379
"couldn't read {}: {}",
13801380
&path.as_ref().display(),
13811381
why
1382-
))
1382+
));
13831383
}
13841384
Ok(map) => map,
13851385
};

0 commit comments

Comments
 (0)