ramsayleung / rspotify

Spotify Web API SDK implemented on Rust
MIT License
632 stars 121 forks source link

[fix] the suspicious use of OpenOptions::create() without an explicit OpenOptions::truncate(). #468

Closed ramsayleung closed 5 months ago

ramsayleung commented 5 months ago

Description

Rust 1.77 introduces a new cargo clippy lint rule for the suspicious use of OpenOptions::create() without an explicit OpenOptions::truncate(), which failed the cargo clipy CI task

Motivation and Context

Dependencies

None

Type of change

Please delete options that are not relevant.

How has this been tested?

Is this change properly documented?

It's unnecessary.