Skip to content

Docs failed, suspect duplicate function name in different modules. #2598

Closed
@kenba

Description

@kenba

Crate name

unit-sphere

Build failure link

https://docs.rs/crate/unit-sphere/0.3.0/builds

Additional details

The function calculate_haversine_distance was declared in both the trig module and the lib module.
I suspect that this may have been the cause of the failure despite cargo doc --open and cargo clippy --all-features reporting no errors when built with rustc 1.81.0 (eeb90cda1 2024-09-04).

I've published a new version 0.3.1 of the crate with lib::calculate_haversine_distance renamed to lib::calculate_haversine_distance in an attempt to workaround the issue.

Metadata

Metadata

Assignees

No one assigned

    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