boozook / playdate

Playdate Build Tools and API
https://mastodon.gamedev.place/@pd
MIT License
133 stars 8 forks source link

FileOptionsExt should be const_trait #405

Open github-actions[bot] opened 1 month ago

github-actions[bot] commented 1 month ago

FileOptionsExt should be const_trait https://github.com/boozook/playdate/blob/ea28ed41c07083271ac5dfac6a3b96c7d254ed78/api/fs/src/options.rs#L10

Source of this issue ```rust /// Extension for [`sys::ffi::FileOptions`] make it looks like [`std::fs::OpenOptions`]. // TODO: FileOptionsExt should be const_trait pub trait FileOptionsExt: Into { /// Creates new empty file options. fn new() -> Self; ```