chore(fmt): add legacy stubs and strip trailing whitespace to unblock cargo fmt

This commit is contained in:
Selfhosting Dev
2025-09-17 07:43:07 +09:00
parent fcf8ce1f3c
commit adbb0201a9
385 changed files with 35622 additions and 15004 deletions

View File

@ -1,4 +1,4 @@
use crate::bid::{BidResult, BidError};
use crate::bid::{BidError, BidResult};
// Minimal helpers to keep loader.rs lean and consistent
#[inline]
@ -12,5 +12,6 @@ pub fn from_toml<T>(_r: Result<T, toml::de::Error>) -> BidResult<T> {
}
#[inline]
pub fn or_plugin_err<T>(opt: Option<T>) -> BidResult<T> { opt.ok_or(BidError::PluginError) }
pub fn or_plugin_err<T>(opt: Option<T>) -> BidResult<T> {
opt.ok_or(BidError::PluginError)
}