mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Bump serde to 1.0
This commit is contained in:
parent
e1bce24129
commit
76d8573393
60 changed files with 487 additions and 474 deletions
|
@ -214,7 +214,7 @@ impl ResourceChannelManager {
|
|||
}
|
||||
|
||||
pub fn read_json_from_file<T>(data: &mut T, config_dir: &Path, filename: &str)
|
||||
where T: Deserialize
|
||||
where T: for<'de> Deserialize<'de>
|
||||
{
|
||||
let path = config_dir.join(filename);
|
||||
let display = path.display();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue