Skip to content

Fix compilation error and clean up connection.rs for better reliability #31

Description

@nafisatou

This issue addresses a compilation error in connection.rs due to Rust not inferring the type of result. It also cleans up minor warnings and improves error handling.

Changes

  • Added type annotation: let result: anyhow::Result<()>
  • Replaced Err(format!(...)) with anyhow::bail!
  • Removed unused mut and silenced warnings
  • Added short doc comments for clarity

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions