File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 38
38
use std:: fmt:: { self , Debug , Display , Formatter } ;
39
39
use std:: num:: NonZeroUsize ;
40
40
41
- /// Implement serde::Serialize and serde::Deserialize traits for Tree
42
- ///
43
- /// # Warning
44
- /// Serialize and Deserialize implementations are recursive. They require an amount of stack memory
45
- /// proportional to the tree depth.
46
41
#[ cfg( feature = "serde" ) ]
47
42
pub mod serde;
48
43
Original file line number Diff line number Diff line change
1
+ //! Implement `serde::Serialize` and `serde::Deserialize` traits for Tree
2
+ //!
3
+ //! # Warning
4
+ //! Serialize and Deserialize implementations are recursive. They require an amount of stack memory
5
+ //! proportional to the depth of the tree.
6
+
1
7
use std:: { fmt, marker:: PhantomData } ;
2
8
3
9
use serde:: {
You can’t perform that action at this time.
0 commit comments