-
Couldn't load subscription status.
- Fork 30
Open
Description
Implement the Clone and Debug traits for Segtree.
Since M::S has the Clone constraint, the Clone trait can be derived.
For the Debug trait, I propose adding use std::fmt::{Debug, Error, Formatter, Write}; and defining the fmt function based on the existing implementation in LazySegtree, excluding the output for self.lz.
In this approach, we should take into account that the Debug implementation for LazySegtree includes a comment saying // TODO is it useful? .
Metadata
Metadata
Assignees
Labels
No labels