@@ -71,8 +71,8 @@ pub enum Action<T> {
71
71
/// ```
72
72
/// use std::mem::{discriminant, Discriminant};
73
73
///
74
- /// use crate ::undo_2::{Commands, IndepStateKey, SetOrTransition, SetTransAction};
75
- /// use crate ::undo_2::SetTransAction::* ;
74
+ /// use bevy_text ::undo_2::{Commands, IndepStateKey, SetOrTransition, SetTransAction};
75
+ /// use bevy_text ::undo_2::SetTransAction::Transition ;
76
76
///
77
77
/// #[derive(Copy, Clone, Debug)]
78
78
/// struct State {
@@ -137,7 +137,7 @@ pub enum Action<T> {
137
137
/// B,
138
138
/// }
139
139
///
140
- /// use crate ::undo_2::SetTransAction::*;
140
+ /// use bevy_text ::undo_2::SetTransAction::*;
141
141
/// let mut commands = Commands::new();
142
142
/// let mut state = State::new();
143
143
///
@@ -248,7 +248,7 @@ impl<T> Action<T> {
248
248
/// # Example
249
249
///
250
250
/// ```
251
- /// use crate ::undo_2::{Commands,CommandItem};
251
+ /// use bevy_text ::undo_2::{Commands,CommandItem};
252
252
///
253
253
/// let mut commands = Commands::new();
254
254
///
@@ -288,7 +288,7 @@ pub enum CommandItem<T> {
288
288
///
289
289
/// # Example
290
290
/// ```
291
- /// use crate ::undo_2::{Action, Commands};
291
+ /// use bevy_text ::undo_2::{Action, Commands};
292
292
///
293
293
/// #[derive(Debug, Eq, PartialEq)]
294
294
/// enum Command {
@@ -539,7 +539,7 @@ impl<T> Commands<T> {
539
539
/// if it is not an Undo.
540
540
/// # Example
541
541
/// ```
542
- /// use crate ::undo_2::{Commands, CommandItem};
542
+ /// use bevy_text ::undo_2::{Commands, CommandItem};
543
543
///
544
544
/// #[derive(Debug, Eq, PartialEq)]
545
545
/// enum Command {
@@ -569,7 +569,7 @@ impl<T> Commands<T> {
569
569
/// if it is not an Undo.
570
570
/// # Example
571
571
/// ```
572
- /// use crate ::undo_2::{Commands, CommandItem};
572
+ /// use bevy_text ::undo_2::{Commands, CommandItem};
573
573
///
574
574
/// #[derive(Debug, Eq, PartialEq)]
575
575
/// enum Command {
@@ -607,7 +607,7 @@ impl<T> Commands<T> {
607
607
///
608
608
/// # Example
609
609
/// ```
610
- /// use crate ::undo_2::{Commands, CommandItem};
610
+ /// use bevy_text ::undo_2::{Commands, CommandItem};
611
611
///
612
612
/// #[derive(Debug, Eq, PartialEq)]
613
613
/// enum Command {
@@ -654,7 +654,7 @@ impl<T> Commands<T> {
654
654
///
655
655
/// # Example
656
656
/// ```
657
- /// use crate ::undo_2::{Commands, CommandItem};
657
+ /// use bevy_text ::undo_2::{Commands, CommandItem};
658
658
///
659
659
/// #[derive(Debug, Eq, PartialEq)]
660
660
/// enum Command {
@@ -700,7 +700,7 @@ impl<T> Commands<T> {
700
700
///
701
701
/// # Example
702
702
/// ```
703
- /// use crate ::undo_2::Commands;
703
+ /// use bevy_text ::undo_2::Commands;
704
704
///
705
705
/// #[derive(Debug, Eq, PartialEq)]
706
706
/// enum Command {
@@ -725,7 +725,7 @@ impl<T> Commands<T> {
725
725
///
726
726
/// # Example
727
727
/// ```
728
- /// use crate ::undo_2::{Action,Commands};
728
+ /// use bevy_text ::undo_2::{Action,Commands};
729
729
///
730
730
/// #[derive(Debug, Eq, PartialEq)]
731
731
/// enum Command {
@@ -772,7 +772,7 @@ impl<T> Commands<T> {
772
772
///
773
773
/// # Example
774
774
/// ```
775
- /// use crate ::undo_2::{Action,Commands};
775
+ /// use bevy_text ::undo_2::{Action,Commands};
776
776
///
777
777
/// #[derive(Debug, Eq, PartialEq)]
778
778
/// enum Command {
@@ -837,7 +837,7 @@ impl<T> Commands<T> {
837
837
///
838
838
/// # Example
839
839
/// ```
840
- /// use crate ::undo_2::{Commands,Action};
840
+ /// use bevy_text ::undo_2::{Commands,Action};
841
841
///
842
842
/// #[derive(Debug, Eq, PartialEq)]
843
843
/// enum Command {
@@ -913,7 +913,7 @@ impl<T> Commands<T> {
913
913
///
914
914
/// # Example
915
915
/// ```
916
- /// use crate ::undo_2::{Action,Commands};
916
+ /// use bevy_text ::undo_2::{Action,Commands};
917
917
///
918
918
/// #[derive(Debug, Eq, PartialEq)]
919
919
/// enum Command {
@@ -941,7 +941,7 @@ impl<T> Commands<T> {
941
941
///
942
942
/// # Example
943
943
/// ```
944
- /// use crate ::undo_2::{Action,Commands};
944
+ /// use bevy_text ::undo_2::{Action,Commands};
945
945
///
946
946
/// #[derive(Debug, Eq, PartialEq)]
947
947
/// enum Command {
@@ -989,7 +989,7 @@ impl<T> Commands<T> {
989
989
///
990
990
/// # Example
991
991
/// ```
992
- /// use crate ::undo_2::{Action,Commands};
992
+ /// use bevy_text ::undo_2::{Action,Commands};
993
993
///
994
994
/// #[derive(Debug, Eq, PartialEq)]
995
995
/// enum Command {
@@ -1022,7 +1022,7 @@ impl<T> Commands<T> {
1022
1022
///
1023
1023
/// # Example
1024
1024
/// ```
1025
- /// use crate ::undo_2::{Action,Commands};
1025
+ /// use bevy_text ::undo_2::{Action,Commands};
1026
1026
///
1027
1027
/// #[derive(Debug, Eq, PartialEq)]
1028
1028
/// enum Command {
@@ -1059,7 +1059,7 @@ impl<T> Commands<T> {
1059
1059
///
1060
1060
/// # Example
1061
1061
/// ```
1062
- /// use crate ::undo_2::Commands;
1062
+ /// use bevy_text ::undo_2::Commands;
1063
1063
///
1064
1064
/// #[derive(Debug, Eq, PartialEq)]
1065
1065
/// enum Command {
@@ -1095,7 +1095,7 @@ impl<T> Commands<T> {
1095
1095
///
1096
1096
/// # Example
1097
1097
/// ```
1098
- /// use crate ::undo_2::Commands;
1098
+ /// use bevy_text ::undo_2::Commands;
1099
1099
///
1100
1100
/// #[derive(Debug, Eq, PartialEq)]
1101
1101
/// enum Command {
@@ -1124,7 +1124,7 @@ impl<T> Commands<T> {
1124
1124
///
1125
1125
/// # Example
1126
1126
/// ```
1127
- /// use crate ::undo_2::Commands;
1127
+ /// use bevy_text ::undo_2::Commands;
1128
1128
///
1129
1129
/// #[derive(Debug, Eq, PartialEq)]
1130
1130
/// enum Command {
@@ -1150,7 +1150,7 @@ impl<T> Commands<T> {
1150
1150
///
1151
1151
/// # Example
1152
1152
/// ```
1153
- /// use crate ::undo_2::*;
1153
+ /// use bevy_text ::undo_2::*;
1154
1154
/// #[derive(Debug, Eq, PartialEq)]
1155
1155
/// enum Command {
1156
1156
/// A,
@@ -1185,7 +1185,7 @@ impl<T> Commands<T> {
1185
1185
/// the [`CommandItem`] index passed `index`.
1186
1186
///
1187
1187
/// ```
1188
- /// use crate ::undo_2::{Action,Commands, CommandItem};
1188
+ /// use bevy_text ::undo_2::{Action,Commands, CommandItem};
1189
1189
/// use std::time::{Instant, Duration};
1190
1190
///
1191
1191
/// #[derive(Debug, Eq, PartialEq)]
@@ -1249,7 +1249,7 @@ impl<T> Commands<T> {
1249
1249
/// # Example
1250
1250
///
1251
1251
/// ```
1252
- /// use crate ::undo_2::Commands;
1252
+ /// use bevy_text ::undo_2::Commands;
1253
1253
///
1254
1254
/// #[derive(Debug, Eq, PartialEq)]
1255
1255
/// enum Command {
@@ -1280,7 +1280,7 @@ impl<T> Commands<T> {
1280
1280
/// Complexity: O(n)
1281
1281
///
1282
1282
/// ```
1283
- /// use crate ::undo_2::Commands;
1283
+ /// use bevy_text ::undo_2::Commands;
1284
1284
/// use std::time::{Instant, Duration};
1285
1285
///
1286
1286
/// #[derive(Debug, Eq, PartialEq)]
@@ -1349,7 +1349,7 @@ impl<T> Commands<T> {
1349
1349
/// Complexity: O(n)
1350
1350
///
1351
1351
/// ```
1352
- /// use crate ::undo_2::Commands;
1352
+ /// use bevy_text ::undo_2::Commands;
1353
1353
/// use std::time::{Instant, Duration};
1354
1354
///
1355
1355
/// #[derive(Debug, Eq, PartialEq)]
@@ -1415,7 +1415,7 @@ impl<T> Commands<T> {
1415
1415
/// Complexity: O(n)
1416
1416
///
1417
1417
/// ```
1418
- /// use crate ::undo_2::Commands;
1418
+ /// use bevy_text ::undo_2::Commands;
1419
1419
/// use std::time::{Instant, Duration};
1420
1420
///
1421
1421
/// #[derive(Debug, Eq, PartialEq)]
@@ -1505,7 +1505,7 @@ impl<T> Commands<T> {
1505
1505
/// The iterator would iterator over the sequence [C, A].
1506
1506
///
1507
1507
/// ```
1508
- /// use crate ::undo_2::Commands;
1508
+ /// use bevy_text ::undo_2::Commands;
1509
1509
///
1510
1510
/// #[derive(Debug, Eq, PartialEq)]
1511
1511
/// enum Command {
@@ -1556,7 +1556,7 @@ impl<T> Commands<T> {
1556
1556
/// # Example
1557
1557
///
1558
1558
/// ```
1559
- /// use crate ::undo_2::{Commands, CommandItem, Merge, IterRealized};
1559
+ /// use bevy_text ::undo_2::{Commands, CommandItem, Merge, IterRealized};
1560
1560
/// use std::ops::ControlFlow;
1561
1561
///
1562
1562
/// #[derive(Eq, PartialEq, Debug)]
@@ -1624,7 +1624,7 @@ impl<T> Commands<T> {
1624
1624
/// # Example
1625
1625
///
1626
1626
/// ```
1627
- /// use crate ::undo_2::{Commands, CommandItem, Splice, IterRealized};
1627
+ /// use bevy_text ::undo_2::{Commands, CommandItem, Splice, IterRealized};
1628
1628
/// use std::ops::ControlFlow;
1629
1629
///
1630
1630
/// // we suppose that A, B, C is equivalent to D,E
@@ -1716,7 +1716,7 @@ impl<T> Commands<T> {
1716
1716
///
1717
1717
/// # Example
1718
1718
/// ```
1719
- /// use crate ::undo_2::{CommandItem, Commands};
1719
+ /// use bevy_text ::undo_2::{CommandItem, Commands};
1720
1720
///
1721
1721
/// #[derive(Debug, PartialEq)]
1722
1722
/// enum Command {
@@ -1744,7 +1744,7 @@ impl<T> Commands<T> {
1744
1744
///
1745
1745
/// # Example
1746
1746
/// ```
1747
- /// use crate ::undo_2::{Commands,CommandItem};
1747
+ /// use bevy_text ::undo_2::{Commands,CommandItem};
1748
1748
///
1749
1749
/// #[derive(Debug, PartialEq)]
1750
1750
/// enum Command {
0 commit comments