Add redirect for slice-dst-pointer-to-pointer-cast

This commit is contained in:
Eric Huss 2024-02-21 13:17:59 -08:00
parent 8c7cdd39ef
commit 72fb626596
1 changed files with 14 additions and 0 deletions

View File

@ -695,3 +695,17 @@ See [this test] for an example of using this dependency.
[_TypeNoBounds_]: ../types.md#type-expressions
[_RangeExpression_]: ./range-expr.md
[_UnderscoreExpression_]: ./underscore-expr.md
<script>
(function() {
var fragments = {
"#slice-dst-pointer-to-pointer-cast": "operator-expr.html#pointer-to-pointer-cast",
};
var target = fragments[window.location.hash];
if (target) {
var url = window.location.toString();
var base = url.substring(0, url.lastIndexOf('/'));
window.location.replace(base + "/" + target);
}
})();
</script>