mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-24 02:01:18 +07:00
config: Rename tracy span parse => decode config file
This commit is contained in:
@@ -134,7 +134,7 @@ where
|
|||||||
nodes: &[knuffel::ast::SpannedNode<S>],
|
nodes: &[knuffel::ast::SpannedNode<S>],
|
||||||
ctx: &mut knuffel::decode::Context<S>,
|
ctx: &mut knuffel::decode::Context<S>,
|
||||||
) -> Result<Self, DecodeError<S>> {
|
) -> Result<Self, DecodeError<S>> {
|
||||||
let _span = tracy_client::span!("parse config file");
|
let _span = tracy_client::span!("decode config file");
|
||||||
|
|
||||||
let config = ctx.get::<Rc<RefCell<Config>>>().unwrap().clone();
|
let config = ctx.get::<Rc<RefCell<Config>>>().unwrap().clone();
|
||||||
let includes = ctx.get::<Rc<RefCell<Includes>>>().unwrap().clone();
|
let includes = ctx.get::<Rc<RefCell<Includes>>>().unwrap().clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user