diff --git a/src/mako/api/lib/lib.mako b/src/mako/api/lib/lib.mako index 6f5f318df5..078728d0da 100644 --- a/src/mako/api/lib/lib.mako +++ b/src/mako/api/lib/lib.mako @@ -323,7 +323,7 @@ The **${util.library_name()}** library was generated by ${put_and(copyright.auth under the *${copyright.license_abbrev}* license. You can read the full text at the repository's [license file][repo-license]. -[repo-license]: ${cargo.repo_base_url + 'blob/master/LICENSE.md'} +[repo-license]: ${cargo.repo_base_url + 'blob/main/LICENSE.md'} diff --git a/src/mako/lib/util.mako b/src/mako/lib/util.mako index e8e2d57d2b..c34fb8cfe4 100644 --- a/src/mako/lib/util.mako +++ b/src/mako/lib/util.mako @@ -16,7 +16,7 @@ ${v[1:]}\ <%def name="github_source_root_url()" buffered="True">\ -${cargo.repo_base_url}/tree/master/${directories.output}/${util.target_directory_name(name, version, make.target_suffix)}\ +${cargo.repo_base_url}/tree/main/${directories.output}/${util.target_directory_name(name, version, make.target_suffix)}\ <%def name="library_name()" buffered="True">\