Lazap-Development/Lazap

Use `serde(transparent)`

Lucretiel opened this issue · 1 comments

struct LibraryFolders {

use derive(deserialize) and serde(transparent) here, to avoid the need for a custom deserializer

Wow, I didn't know such even existed. That's going to cut down a huge chunk of deserialize code. I remember trying to find out about such, but then resorted to implementing a whole deserializer.

Anyways, fixed in 0a2ff9c. Thanks once again!