//! Cfg builder that ends a control-flow path at a terminal node.
use crate::syntax::cfg::{SyntaxCfgArgs, SyntaxCfgError};
use crate::NodeId;
#[expect(
clippy::unnecessary_wraps,
reason = "the signature must match the cfg builder table"
)]
pub const fn build(
_args: &mut SyntaxCfgArgs<'_>,
n_id: NodeId,
_nxt_id: Option<NodeId>,
) -> Result<NodeId, SyntaxCfgError> {
Ok(n_id)
}