This PR fixes the compilation errors in the get_link_by_id function in the src/main.rs file. The errors were caused by the incorrect usage of the Link type and the placeholder _ in the function signature.
Summary of Changes
Imported the Link type from the doublets crate.
Replaced the placeholder _ in the function signature of get_link_by_id with a type parameter.
Please review and merge this PR. Thank you!
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 the
get_link_by_id
function in thesrc/main.rs
file. The errors were caused by the incorrect usage of theLink
type and the placeholder_
in the function signature.Summary of Changes
Link
type from thedoublets
crate._
in the function signature ofget_link_by_id
with a type parameter.Please review and merge this PR. Thank you!
Fixes #7.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: