Skip to content

Return &'static str from detect_image_mime #646

@bug-ops

Description

@bug-ops

Parent: #621

crates/zeph-core/src/agent/mod.rs:57-70 — two unnecessary allocations (to_lowercase + to_owned). Return &'static str and use eq_ignore_ascii_case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions