mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 13:28:00 +00:00
Add ui test with nonempty string containing no lifetimes
This commit is contained in:
@@ -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