Feat(embeddings): Embeddable derive macro #125
Annotations
2 errors
Run clippy action:
rig-core/src/embeddings/tool.rs#L18
error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
--> rig-core/src/embeddings/tool.rs:18:27
|
18 | pub fn try_from(tool: &Box<dyn ToolEmbeddingDyn>) -> Result<Self, EmbeddableError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&dyn ToolEmbeddingDyn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
= note: `-D clippy::borrowed-box` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::borrowed_box)]`
|
Run clippy action
Clippy has exited with exit code 101
|
Loading