]> git.lizzy.rs Git - rust.git/blobdiff - src/rustdoc-json-types/lib.rs
code refactoring smart_resolve_report_errors
[rust.git] / src / rustdoc-json-types / lib.rs
index 13bafa506e4a6c6753d3435ce976e12ed96388c9..fb183042670e8db73ee2240255962a537d60cfd8 100644 (file)
@@ -542,12 +542,12 @@ pub enum Term {
 #[serde(rename_all = "snake_case")]
 #[serde(tag = "kind", content = "inner")]
 pub enum Type {
-    /// Structs, enums, and traits
+    /// Structs, enums, and unions
     ResolvedPath(Path),
     DynTrait(DynTrait),
     /// Parameterized types
     Generic(String),
-    /// Fixed-size numeric types (plus int/usize/float), char, arrays, slices, and tuples
+    /// Built in numberic (i*, u*, f*) types, bool, and char
     Primitive(String),
     /// `extern "ABI" fn`
     FunctionPointer(Box<FunctionPointer>),