We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e00a8b5 commit a02244dCopy full SHA for a02244d
src/version_map.rs
@@ -48,11 +48,11 @@
48
//! assert_eq!(version_map.get_type_version(1, State::type_id()), 1);
49
//!
50
51
-//! // Check that root version 2 has Struct1 at version 2 and Struct 2
+//! // Check that root version 2 has Struct1 at version 2 and Struct2
52
//! // at version 1.
53
//! assert_eq!(version_map.get_type_version(2, Struct1::type_id()), 2);
54
//! assert_eq!(version_map.get_type_version(2, Struct2::type_id()), 1);
55
-//! assert_eq!(version_map.get_type_version(1, State::type_id()), 1);
+//! assert_eq!(version_map.get_type_version(2, State::type_id()), 1);
56
57
//! // Check that root version 3 has Struct1 and Struct2 at version 2.
58
//! assert_eq!(version_map.get_type_version(3, Struct1::type_id()), 2);
0 commit comments