xtask: Allow spec links to use the latest
spec instead of a specific version
This commit is contained in:
parent
270f8196bc
commit
9194c60f4a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ impl Spec {
|
|||
|
||||
/// Authorized versions in URLs pointing to the new specs.
|
||||
const NEW_VERSION_WHITELIST: &'static [&'static str] =
|
||||
&["v1.1", "v1.2", "v1.3", "v1.4", "v1.5", "unstable"];
|
||||
&["v1.1", "v1.2", "v1.3", "v1.4", "v1.5", "latest", "unstable"];
|
||||
|
||||
/// Get the start of the URLs pointing to this `Spec`.
|
||||
const fn url_prefix(&self) -> &'static str {
|
||||
|
|
Loading…
Reference in a new issue