URL: https://doc.rust-lang.org/std/iter/../../std/../book/ch17-02-trait-objects.html
t = window.location.hash; if (fragment) { let redirectUrl = "ch18-02-trait-objects.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 });