chore(fmt): add legacy stubs and strip trailing whitespace to unblock cargo fmt
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user