Skip to content

Commit

Permalink
[docs] Use version instead of master when linking (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Dec 29, 2024
1 parent d3ceda3 commit d8f7fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/function/declaration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ impl FunctionDeclaration {
let path = entry.path();
if let Some(file_name) = path.file_name().and_then(OsStr::to_str) {
if pattern.matches(file_name) {
references.push(format!("* [{}](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/{})", file_name, file_name));
references.push(format!("* [{}](https://github.com/amber-lang/amber/blob/{}/src/tests/stdlib/{})", file_name, env!("CARGO_PKG_VERSION"), file_name));
}
}
}
Expand Down

0 comments on commit d8f7fbb

Please sign in to comment.