Skip to content

Commit c77f58d

Browse files
author
Cameron Custer
committed
apply naming conventions to doc examples
1 parent ebd04bb commit c77f58d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/dsu/line_tree.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
//! line_tree lt(n);
66
//! for (auto [w, u, v] : w_eds) lt.join(u, v);
77
//! for (int v = lt.f(0); v != -1;) {
8-
//! auto [next, e_id] = lt.edge[v];
8+
//! auto [nxt, e_id] = lt.edge[v];
99
//! int w = w_eds[e_id][0];
1010
//! //
11-
//! v = next;
11+
//! v = nxt;
1212
//! }
1313
//! @endcode
1414
//! lt.f(v) = head of linked list

0 commit comments

Comments
 (0)