This PR fixes the compilation errors in main.rs that were reported in issue #7. The errors were related to the Link type not being found in the scope and the placeholder _ not being allowed within types on item signatures for functions.
Summary of Changes
Added an import statement to import the Link struct from the doublets crate in main.rs.
Replaced the placeholder _ with a type parameter in the function signature of get_link_by_id in main.rs.
Fixes #7.
🎉 Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR fixes the compilation errors in
main.rs
that were reported in issue #7. The errors were related to theLink
type not being found in the scope and the placeholder_
not being allowed within types on item signatures for functions.Summary of Changes
Link
struct from thedoublets
crate inmain.rs
._
with a type parameter in the function signature ofget_link_by_id
inmain.rs
.Fixes #7.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: