Skip to content

Commit 37b2027

Browse files
committed
fix: replace git.io links
1 parent fc9f90c commit 37b2027

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Generated from [fspoettel/advent-of-code-rust](https://github.com/fspoettel/adve
4343

4444
Individual solutions live in the `./src/bin` directory as separate binaries.
4545

46-
Every [solution](https://git.io/JyXa8) has _unit tests_ referencing the _example_ file. Use these tests to develop and debug your solution. When editing a solution, `rust-analyzer` will display buttons for these actions above the unit tests.
46+
Every [solution](https://github.com/fspoettel/advent-of-code-rust/blob/master/bin/scaffold#L21-L52) has _unit tests_ referencing the _example_ file. Use these tests to develop and debug your solution. When editing a solution, `rust-analyzer` will display buttons for these actions above the unit tests.
4747

4848
### Download inputs for a day
4949

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn parse_exec_time(output: &str) -> f64 {
5252
} else {
5353
let timing = l.split("(elapsed: ").last().unwrap();
5454
// use `contains` istd. of `ends_with`: string may contain ANSI escape sequences.
55-
// possible time formats: see [rust/library/core/src/time.rs](https://git.io/Jy1rI).
55+
// possible time formats: see [rust/library/core/src/time.rs](https://github.com/rust-lang/rust/blob/1.57.0/library/core/src/time.rs#L1225-L1249).
5656
if timing.contains("ns)") {
5757
acc // range below rounding precision.
5858
} else if timing.contains("µs)") {
@@ -72,7 +72,7 @@ pub fn parse_exec_time(output: &str) -> f64 {
7272
mod tests {
7373
use super::*;
7474

75-
/// copied from: [rust/library/std/src/macros.rs](https://git.io/Jy1r7)
75+
/// copied from: [rust/library/std/src/macros.rs](https://github.com/rust-lang/rust/blob/1.57.0/library/std/src/macros.rs#L311-L316)
7676
macro_rules! assert_approx_eq {
7777
($a:expr, $b:expr) => {{
7878
let (a, b) = (&$a, &$b);

0 commit comments

Comments
 (0)