@@ -71,7 +71,7 @@ pub enum Action<T> {
71
71
/// ```
72
72
/// use std::mem::{discriminant, Discriminant};
73
73
///
74
- /// use undo_2::{Commands, IndepStateKey, SetOrTransition, SetTransAction};
74
+ /// use crate:: undo_2::{Commands, IndepStateKey, SetOrTransition, SetTransAction};
75
75
///
76
76
/// #[derive(Copy, Clone, Debug)]
77
77
/// struct State {
@@ -247,7 +247,7 @@ impl<T> Action<T> {
247
247
/// # Example
248
248
///
249
249
/// ```
250
- /// use undo_2::{Commands,CommandItem};
250
+ /// use crate:: undo_2::{Commands,CommandItem};
251
251
///
252
252
/// let mut commands = Commands::new();
253
253
///
@@ -287,7 +287,7 @@ pub enum CommandItem<T> {
287
287
///
288
288
/// # Example
289
289
/// ```
290
- /// use undo_2::{Action, Commands};
290
+ /// use crate:: undo_2::{Action, Commands};
291
291
///
292
292
/// #[derive(Debug, Eq, PartialEq)]
293
293
/// enum Command {
@@ -538,7 +538,7 @@ impl<T> Commands<T> {
538
538
/// if it is not an Undo.
539
539
/// # Example
540
540
/// ```
541
- /// use undo_2::{Commands, CommandItem};
541
+ /// use crate:: undo_2::{Commands, CommandItem};
542
542
///
543
543
/// #[derive(Debug, Eq, PartialEq)]
544
544
/// enum Command {
@@ -568,7 +568,7 @@ impl<T> Commands<T> {
568
568
/// if it is not an Undo.
569
569
/// # Example
570
570
/// ```
571
- /// use undo_2::{Commands, CommandItem};
571
+ /// use crate:: undo_2::{Commands, CommandItem};
572
572
///
573
573
/// #[derive(Debug, Eq, PartialEq)]
574
574
/// enum Command {
@@ -606,7 +606,7 @@ impl<T> Commands<T> {
606
606
///
607
607
/// # Example
608
608
/// ```
609
- /// use undo_2::{Commands, CommandItem};
609
+ /// use crate:: undo_2::{Commands, CommandItem};
610
610
///
611
611
/// #[derive(Debug, Eq, PartialEq)]
612
612
/// enum Command {
@@ -653,7 +653,7 @@ impl<T> Commands<T> {
653
653
///
654
654
/// # Example
655
655
/// ```
656
- /// use undo_2::{Commands, CommandItem};
656
+ /// use crate:: undo_2::{Commands, CommandItem};
657
657
///
658
658
/// #[derive(Debug, Eq, PartialEq)]
659
659
/// enum Command {
@@ -699,7 +699,7 @@ impl<T> Commands<T> {
699
699
///
700
700
/// # Example
701
701
/// ```
702
- /// use undo_2::Commands;
702
+ /// use crate:: undo_2::Commands;
703
703
///
704
704
/// #[derive(Debug, Eq, PartialEq)]
705
705
/// enum Command {
@@ -724,7 +724,7 @@ impl<T> Commands<T> {
724
724
///
725
725
/// # Example
726
726
/// ```
727
- /// use undo_2::{Action,Commands};
727
+ /// use crate:: undo_2::{Action,Commands};
728
728
///
729
729
/// #[derive(Debug, Eq, PartialEq)]
730
730
/// enum Command {
@@ -771,7 +771,7 @@ impl<T> Commands<T> {
771
771
///
772
772
/// # Example
773
773
/// ```
774
- /// use undo_2::{Action,Commands};
774
+ /// use crate:: undo_2::{Action,Commands};
775
775
///
776
776
/// #[derive(Debug, Eq, PartialEq)]
777
777
/// enum Command {
@@ -836,7 +836,7 @@ impl<T> Commands<T> {
836
836
///
837
837
/// # Example
838
838
/// ```
839
- /// use undo_2::{Commands,Action};
839
+ /// use crate:: undo_2::{Commands,Action};
840
840
///
841
841
/// #[derive(Debug, Eq, PartialEq)]
842
842
/// enum Command {
@@ -912,7 +912,7 @@ impl<T> Commands<T> {
912
912
///
913
913
/// # Example
914
914
/// ```
915
- /// use undo_2::{Action,Commands};
915
+ /// use crate:: undo_2::{Action,Commands};
916
916
///
917
917
/// #[derive(Debug, Eq, PartialEq)]
918
918
/// enum Command {
@@ -940,7 +940,7 @@ impl<T> Commands<T> {
940
940
///
941
941
/// # Example
942
942
/// ```
943
- /// use undo_2::{Action,Commands};
943
+ /// use crate:: undo_2::{Action,Commands};
944
944
///
945
945
/// #[derive(Debug, Eq, PartialEq)]
946
946
/// enum Command {
@@ -988,7 +988,7 @@ impl<T> Commands<T> {
988
988
///
989
989
/// # Example
990
990
/// ```
991
- /// use undo_2::{Action,Commands};
991
+ /// use crate:: undo_2::{Action,Commands};
992
992
///
993
993
/// #[derive(Debug, Eq, PartialEq)]
994
994
/// enum Command {
@@ -1021,7 +1021,7 @@ impl<T> Commands<T> {
1021
1021
///
1022
1022
/// # Example
1023
1023
/// ```
1024
- /// use undo_2::{Action,Commands};
1024
+ /// use crate:: undo_2::{Action,Commands};
1025
1025
///
1026
1026
/// #[derive(Debug, Eq, PartialEq)]
1027
1027
/// enum Command {
@@ -1058,7 +1058,7 @@ impl<T> Commands<T> {
1058
1058
///
1059
1059
/// # Example
1060
1060
/// ```
1061
- /// use undo_2::Commands;
1061
+ /// use crate:: undo_2::Commands;
1062
1062
///
1063
1063
/// #[derive(Debug, Eq, PartialEq)]
1064
1064
/// enum Command {
@@ -1094,7 +1094,7 @@ impl<T> Commands<T> {
1094
1094
///
1095
1095
/// # Example
1096
1096
/// ```
1097
- /// use undo_2::Commands;
1097
+ /// use crate:: undo_2::Commands;
1098
1098
///
1099
1099
/// #[derive(Debug, Eq, PartialEq)]
1100
1100
/// enum Command {
@@ -1123,7 +1123,7 @@ impl<T> Commands<T> {
1123
1123
///
1124
1124
/// # Example
1125
1125
/// ```
1126
- /// use undo_2::Commands;
1126
+ /// use crate:: undo_2::Commands;
1127
1127
///
1128
1128
/// #[derive(Debug, Eq, PartialEq)]
1129
1129
/// enum Command {
@@ -1149,7 +1149,7 @@ impl<T> Commands<T> {
1149
1149
///
1150
1150
/// # Example
1151
1151
/// ```
1152
- /// use undo_2::*;
1152
+ /// use crate:: undo_2::*;
1153
1153
/// #[derive(Debug, Eq, PartialEq)]
1154
1154
/// enum Command {
1155
1155
/// A,
@@ -1184,7 +1184,7 @@ impl<T> Commands<T> {
1184
1184
/// the [CommandItem] index passed `index`.
1185
1185
///
1186
1186
/// ```
1187
- /// use undo_2::{Action,Commands, CommandItem};
1187
+ /// use crate:: undo_2::{Action,Commands, CommandItem};
1188
1188
/// use std::time::{Instant, Duration};
1189
1189
///
1190
1190
/// #[derive(Debug, Eq, PartialEq)]
@@ -1248,7 +1248,7 @@ impl<T> Commands<T> {
1248
1248
/// # Example
1249
1249
///
1250
1250
/// ```
1251
- /// use undo_2::Commands;
1251
+ /// use crate:: undo_2::Commands;
1252
1252
///
1253
1253
/// #[derive(Debug, Eq, PartialEq)]
1254
1254
/// enum Command {
@@ -1279,7 +1279,7 @@ impl<T> Commands<T> {
1279
1279
/// Complexity: O(n)
1280
1280
///
1281
1281
/// ```
1282
- /// use undo_2::Commands;
1282
+ /// use crate:: undo_2::Commands;
1283
1283
/// use std::time::{Instant, Duration};
1284
1284
///
1285
1285
/// #[derive(Debug, Eq, PartialEq)]
@@ -1348,7 +1348,7 @@ impl<T> Commands<T> {
1348
1348
/// Complexity: O(n)
1349
1349
///
1350
1350
/// ```
1351
- /// use undo_2::Commands;
1351
+ /// use crate:: undo_2::Commands;
1352
1352
/// use std::time::{Instant, Duration};
1353
1353
///
1354
1354
/// #[derive(Debug, Eq, PartialEq)]
@@ -1414,7 +1414,7 @@ impl<T> Commands<T> {
1414
1414
/// Complexity: O(n)
1415
1415
///
1416
1416
/// ```
1417
- /// use undo_2::Commands;
1417
+ /// use crate:: undo_2::Commands;
1418
1418
/// use std::time::{Instant, Duration};
1419
1419
///
1420
1420
/// #[derive(Debug, Eq, PartialEq)]
@@ -1504,7 +1504,7 @@ impl<T> Commands<T> {
1504
1504
/// The iterator would iterator over the sequence [C, A].
1505
1505
///
1506
1506
/// ```
1507
- /// use undo_2::Commands;
1507
+ /// use crate:: undo_2::Commands;
1508
1508
///
1509
1509
/// #[derive(Debug, Eq, PartialEq)]
1510
1510
/// enum Command {
@@ -1555,7 +1555,7 @@ impl<T> Commands<T> {
1555
1555
/// # Example
1556
1556
///
1557
1557
/// ```
1558
- /// use undo_2::{Commands, CommandItem, Merge, IterRealized};
1558
+ /// use crate:: undo_2::{Commands, CommandItem, Merge, IterRealized};
1559
1559
/// use std::ops::ControlFlow;
1560
1560
///
1561
1561
/// #[derive(Eq, PartialEq, Debug)]
@@ -1623,7 +1623,7 @@ impl<T> Commands<T> {
1623
1623
/// # Example
1624
1624
///
1625
1625
/// ```
1626
- /// use undo_2::{Commands, CommandItem, Splice, IterRealized};
1626
+ /// use crate:: undo_2::{Commands, CommandItem, Splice, IterRealized};
1627
1627
/// use std::ops::ControlFlow;
1628
1628
///
1629
1629
/// // we suppose that A, B, C is equivalent to D,E
@@ -1715,7 +1715,7 @@ impl<T> Commands<T> {
1715
1715
///
1716
1716
/// # Example
1717
1717
/// ```
1718
- /// use undo_2::{CommandItem, Commands};
1718
+ /// use crate:: undo_2::{CommandItem, Commands};
1719
1719
///
1720
1720
/// #[derive(Debug, PartialEq)]
1721
1721
/// enum Command {
@@ -1743,7 +1743,7 @@ impl<T> Commands<T> {
1743
1743
///
1744
1744
/// # Example
1745
1745
/// ```
1746
- /// use undo_2::{Commands,CommandItem};
1746
+ /// use crate:: undo_2::{Commands,CommandItem};
1747
1747
///
1748
1748
/// #[derive(Debug, PartialEq)]
1749
1749
/// enum Command {
0 commit comments