mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-08 17:47:05 +00:00
Add ui test with nonempty string containing no lifetimes
This commit is contained in:
2 files changed
+8
No files matched your search
@@ -3,6 +3,8 @@ use serde_derive::Deserialize;
|
||||
#[derive(Deserialize)]
|
||||
struct Test<'a> {
|
||||
#[serde(borrow = "")]
|
||||
r: &'a str,
|
||||
#[serde(borrow = " ")]
|
||||
s: &'a str,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user