Small improvements
This commit is contained in:
parent
f57ce86431
commit
1bb05677fa
@ -58,7 +58,7 @@ impl LayoutRoot for Content {
|
||||
#[comemo::memoize]
|
||||
fn cached(
|
||||
node: &Content,
|
||||
world: comemo::Tracked<dyn World>,
|
||||
world: Tracked<dyn World>,
|
||||
provider: TrackedMut<StabilityProvider>,
|
||||
introspector: Tracked<Introspector>,
|
||||
styles: StyleChain,
|
||||
@ -104,7 +104,7 @@ impl Layout for Content {
|
||||
#[comemo::memoize]
|
||||
fn cached(
|
||||
node: &Content,
|
||||
world: comemo::Tracked<dyn World>,
|
||||
world: Tracked<dyn World>,
|
||||
provider: TrackedMut<StabilityProvider>,
|
||||
introspector: Tracked<Introspector>,
|
||||
styles: StyleChain,
|
||||
|
@ -38,7 +38,7 @@ macro_rules! __error {
|
||||
};
|
||||
|
||||
($span:expr, $fmt:expr, $($arg:expr),+ $(,)?) => {
|
||||
$crate::diag::error!($span, format!($fmt, $($arg),+))
|
||||
$crate::diag::error!($span, $crate::util::format_eco!($fmt, $($arg),+))
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user