mozilla / mentat

UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript.
https://mozilla.github.io/mentat/
Apache License 2.0
1.65k stars 115 forks source link

Pre: eliminate some occurrences of Rc, largely through the magic of Into. #658

Closed rnewman closed 6 years ago

rnewman commented 6 years ago

I figured this little polish would make work like #656 easier to read and experiment with. (@mmacedoeu, you might want to take a look.)

mmacedoeu commented 6 years ago

Leveraging rust type conversion definitely improves code quality, code is more normalized and refactoring have a lower impact. :)

rnewman commented 6 years ago

Landed via #659.