Skip to content
Snippets Groups Projects
Commit ea72589a authored by Udo Eisenbarth's avatar Udo Eisenbarth :speech_balloon:
Browse files

fix failing doc tests

parent bbf908e5
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ impl OpticNode {
/// use opossum::optic_node::OpticNode;
/// use opossum::nodes::NodeDummy;
///
/// let node=OpticNode::new("My node", Box::new(NodeDummy));
/// let node=OpticNode::new("My node", NodeDummy);
/// ```
pub fn new<T: Optical+ 'static>(name: &str, node_type: T) -> Self {
let ports=node_type.ports();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment