aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-11-26 12:40:55 +0000
committerAleksey Kladov <[email protected]>2019-11-26 12:41:48 +0000
commit4e17718a9aaba34533ba6a46d52b4aa959c662c7 (patch)
treea8e607639926dfb11d49ad02174646b33822c380
parent45d05ed78384b28fbd341068f36912a2e0308292 (diff)
Doc primitives
-rw-r--r--crates/ra_hir_ty/src/lib.rs3
-rw-r--r--crates/ra_hir_ty/src/primitive.rs5
2 files changed, 6 insertions, 2 deletions
diff --git a/crates/ra_hir_ty/src/lib.rs b/crates/ra_hir_ty/src/lib.rs
index 25bfc1d15..28859ba63 100644
--- a/crates/ra_hir_ty/src/lib.rs
+++ b/crates/ra_hir_ty/src/lib.rs
@@ -1,3 +1,4 @@
1//! FIXME: write short doc here 1//! Work in Progress: everything related to types, type inference and trait
2//! solving.
2 3
3pub mod primitive; 4pub mod primitive;
diff --git a/crates/ra_hir_ty/src/primitive.rs b/crates/ra_hir_ty/src/primitive.rs
index afa22448d..02a8179d9 100644
--- a/crates/ra_hir_ty/src/primitive.rs
+++ b/crates/ra_hir_ty/src/primitive.rs
@@ -1,4 +1,7 @@
1//! FIXME: write short doc here 1//! Defines primitive types, which have a couple of peculiarities:
2//!
3//! * during type inference, they can be uncertain (ie, `let x = 92;`)
4//! * they don't belong to any particular crate.
2 5
3use std::fmt; 6use std::fmt;
4 7