Files
docs-rust/build/ch19-01-unsafe-rust.html
2026-06-22 21:17:36 +05:30

37 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0; URL=ch20-01-unsafe-rust.html">
<link rel="canonical" href="ch20-01-unsafe-rust.html">
</head>
<body>
<p>Redirecting to... <a href="ch20-01-unsafe-rust.html">ch20-01-unsafe-rust.html</a>.</p>
<script>
// This handles redirects that involve fragments.
document.addEventListener('DOMContentLoaded', function() {
const fragmentMap =
{}
;
const fragment = window.location.hash;
if (fragment) {
let redirectUrl = "ch20-01-unsafe-rust.html";
const target = fragmentMap[fragment];
if (target) {
let url = new URL(target, window.location.href);
redirectUrl = url.href;
} else {
let url = new URL(redirectUrl, window.location.href);
url.hash = window.location.hash;
redirectUrl = url.href;
}
window.location.replace(redirectUrl);
}
// else redirect handled by http-equiv
});
</script>
</body>
</html>