Skip to content

Commit

Permalink
docs: remove pattern deref from inspect example for general case
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jun 30, 2023
1 parent 6d97e81 commit c969e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydroflow_lang/src/graph/ops/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use super::{
///
/// ```hydroflow
/// source_iter([1, 2, 3, 4])
/// -> inspect(|&x| println!("{}", x))
/// -> inspect(|x| println!("{}", x))
/// -> assert([1, 2, 3, 4]);
/// ```
pub const INSPECT: OperatorConstraints = OperatorConstraints {
Expand Down

0 comments on commit c969e7f

Please sign in to comment.