Skip to content

Broken test_bonds test function in maps.rs. #783

@Sol-Ell

Description

@Sol-Ell

Currently the trait bounds of the T in check_bounds are Send and Send.

http/src/header/map.rs

Lines 3914 to 3918 in 9f86d52

#[test]
fn test_bounds() {
fn check_bounds<T: Send + Send>() {}
check_bounds::<HeaderMap<()>>();

I think the author of that test meant fn check_bounds<T: Send + Sync> {}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions