Skip to content

Commit 98e3456

Browse files
committed
Move script to bottom of page.
1 parent 56b3497 commit 98e3456

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

src/doc/src/reference/unstable.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,38 +1091,6 @@ The 2021 edition will set the default [resolver version] to "2".
10911091
[edition]: ../../edition-guide/index.html
10921092
[resolver version]: resolver.md#resolver-versions
10931093

1094-
<script>
1095-
(function() {
1096-
var fragments = {
1097-
"#edition": "manifest.html#the-edition-field",
1098-
"#compile-progress": "config.html#termprogresswhen",
1099-
"#rename-dependency": "specifying-dependencies.html#renaming-dependencies-in-cargotoml",
1100-
"#alternate-registries": "registries.html",
1101-
"#offline-mode": "../commands/cargo.html",
1102-
"#publish-lockfile": "../commands/cargo-package.html",
1103-
"#default-run": "manifest.html#the-default-run-field",
1104-
"#cache-messages": "https://github.com/rust-lang/cargo/pull/7450",
1105-
"#install-upgrade": "../commands/cargo-install.html",
1106-
"#profile-overrides": "profiles.html#overrides",
1107-
"#config-profiles": "config.html#profile",
1108-
"#crate-versions": "https://github.com/rust-lang/cargo/pull/8509",
1109-
"#features": "features.html#feature-resolver-version-2",
1110-
"#package-features": "features.html#resolver-version-2-command-line-flags",
1111-
"#resolver": "resolver.html#resolver-versions",
1112-
};
1113-
var target = fragments[window.location.hash];
1114-
if (target) {
1115-
if (target.startsWith('https')) {
1116-
window.location.replace(target);
1117-
} else {
1118-
var url = window.location.toString();
1119-
var base = url.substring(0, url.lastIndexOf('/'));
1120-
window.location.replace(base + "/" + target);
1121-
}
1122-
}
1123-
})();
1124-
</script>
1125-
11261094
### future incompat report
11271095
* RFC: [#2834](https://github.com/rust-lang/rfcs/blob/master/text/2834-cargo-report-future-incompat.md)
11281096
* rustc Tracking Issue: [#71249](https://github.com/rust-lang/rust/issues/71249)
@@ -1181,3 +1149,35 @@ lowest precedence.
11811149

11821150
Relative `path` dependencies in such a `[patch]` section are resolved
11831151
relative to the configuration file they appear in.
1152+
1153+
<script>
1154+
(function() {
1155+
var fragments = {
1156+
"#edition": "manifest.html#the-edition-field",
1157+
"#compile-progress": "config.html#termprogresswhen",
1158+
"#rename-dependency": "specifying-dependencies.html#renaming-dependencies-in-cargotoml",
1159+
"#alternate-registries": "registries.html",
1160+
"#offline-mode": "../commands/cargo.html",
1161+
"#publish-lockfile": "../commands/cargo-package.html",
1162+
"#default-run": "manifest.html#the-default-run-field",
1163+
"#cache-messages": "https://github.com/rust-lang/cargo/pull/7450",
1164+
"#install-upgrade": "../commands/cargo-install.html",
1165+
"#profile-overrides": "profiles.html#overrides",
1166+
"#config-profiles": "config.html#profile",
1167+
"#crate-versions": "https://github.com/rust-lang/cargo/pull/8509",
1168+
"#features": "features.html#feature-resolver-version-2",
1169+
"#package-features": "features.html#resolver-version-2-command-line-flags",
1170+
"#resolver": "resolver.html#resolver-versions",
1171+
};
1172+
var target = fragments[window.location.hash];
1173+
if (target) {
1174+
if (target.startsWith('https')) {
1175+
window.location.replace(target);
1176+
} else {
1177+
var url = window.location.toString();
1178+
var base = url.substring(0, url.lastIndexOf('/'));
1179+
window.location.replace(base + "/" + target);
1180+
}
1181+
}
1182+
})();
1183+
</script>

0 commit comments

Comments
 (0)