parent
ac34eb707e
commit
ab2647a5cd
@ -0,0 +1,30 @@
|
||||
From 441bd2296af2d5735f413dac0162939d795aa6f1 Mon Sep 17 00:00:00 2001
|
||||
From: Jonas Schievink <jonasschievink@gmail.com>
|
||||
Date: Sun, 29 Jul 2018 17:31:38 +0200
|
||||
Subject: [PATCH 2/2] Update to syn 0.14
|
||||
|
||||
syn wasn't able to parse my lib.rs, likely because it didn't support
|
||||
statement attributes. This should fix that, and it even makes a piece of
|
||||
code slightly simpler.
|
||||
|
||||
(cherry picked from commit d25c08aa8c29cb71b9522c62f2352dbf1f2f5d83)
|
||||
---
|
||||
src/lib.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/lib.rs b/src/lib.rs
|
||||
index 4e98771..116d558 100644
|
||||
--- a/src/lib.rs
|
||||
+++ b/src/lib.rs
|
||||
@@ -414,7 +414,7 @@ pub fn check_html_root_url(path: &str, pkg_name: &str, pkg_version: &str) -> Res
|
||||
_ => continue,
|
||||
};
|
||||
|
||||
- if ident.as_ref() != "doc" {
|
||||
+ if ident != "doc" {
|
||||
continue;
|
||||
}
|
||||
|
||||
--
|
||||
2.19.0.rc1
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- version-sync-0.5.0/Cargo.toml 1969-12-31T16:00:00-08:00
|
||||
+++ version-sync-0.5.0/Cargo.toml 2018-04-17T14:57:46.167356-07:00
|
||||
@@ -33,7 +33,7 @@
|
||||
version = "0.7"
|
||||
|
||||
[dependencies.syn]
|
||||
-version = "0.11"
|
||||
+version = "0.13"
|
||||
features = ["full"]
|
||||
|
||||
[dependencies.toml]
|
@ -0,0 +1,11 @@
|
||||
--- version-sync-0.5.0/Cargo.toml 1970-01-01T01:00:00+01:00
|
||||
+++ version-sync-0.5.0/Cargo.toml 2018-09-11T08:37:10.622525+02:00
|
||||
@@ -33,7 +33,7 @@
|
||||
version = "0.7"
|
||||
|
||||
[dependencies.syn]
|
||||
-version = "0.11"
|
||||
+version = "0.14"
|
||||
features = ["full"]
|
||||
|
||||
[dependencies.toml]
|
Loading…
Reference in new issue