Open uselessgoddess opened 2 years ago
It may be worth impl
Links for Doublets
, instead ofDoublets for Links
For example:
//! before
trait Foo {
fn foo(&self);
}
trait Bar: Foo {
fn bar(&self) {
self.foo();
}
}
//! after
trait Foo {
fn foo(&self);
}
trait Bar {
fn bar(&self);
}
impl Foo for Bar {
fn foo(&self) {
self.bar()
}
}
At the moment
Doublets
trait useLinks
trait. This is due to the fact that for a long timedata::Links Error
=Box<dyn Error>
This is now fixed at https://github.com/linksplatform/data-rs/commit/a2cadfa4744a9eeb28a8f9e6b0ba0e439077667b.
However,
data::Error
still loses information. It may be worth implLinks for Doublets
, instead ofDoublets for Links