mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 23:35:26 +00:00
Remove 1.26-dev docs.rs workaround
They are now building with 1.31.0-nightly.
This commit is contained in:
parent
451ee2d78e
commit
a8a54c0568
@ -71,11 +71,6 @@ fn rustc_minor_version() -> Option<u32> {
|
|||||||
Err(_) => return None,
|
Err(_) => return None,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Temporary workaround to support the old 1.26-dev compiler on docs.rs.
|
|
||||||
if version.contains("0eb87c9bf") {
|
|
||||||
return Some(25);
|
|
||||||
}
|
|
||||||
|
|
||||||
let mut pieces = version.split('.');
|
let mut pieces = version.split('.');
|
||||||
if pieces.next() != Some("rustc 1") {
|
if pieces.next() != Some("rustc 1") {
|
||||||
return None;
|
return None;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user