Skip to content

Commit a13a6da

Browse files
committed
Don't force lib name to be the crate name in docs.rs link
1 parent 11e5e99 commit a13a6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/crate/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default Ember.Route.extend({
7474
ajax(`https://docs.rs/crate/${crateName}/${crateVersion}/builds.json`)
7575
.then((r) => {
7676
if (r.length > 0 && r[0].build_status === true) {
77-
crate.set('documentation', `https://docs.rs/${crateName}/${crateVersion}/${crateName}/`);
77+
crate.set('documentation', `https://docs.rs/${crateName}/${crateVersion}/`);
7878
}
7979
});
8080
}

0 commit comments

Comments
 (0)