fluidattacks-blends-domain 0.6.1

Blends functional core: pure AST graph to syntax graph (no_std)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! 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)
}