diff options
author | Aleksey Kladov <[email protected]> | 2019-11-26 12:40:55 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-26 12:41:48 +0000 |
commit | 4e17718a9aaba34533ba6a46d52b4aa959c662c7 (patch) | |
tree | a8e607639926dfb11d49ad02174646b33822c380 /crates | |
parent | 45d05ed78384b28fbd341068f36912a2e0308292 (diff) |
Doc primitives
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir_ty/src/lib.rs | 3 | ||||
-rw-r--r-- | crates/ra_hir_ty/src/primitive.rs | 5 |
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 | ||
3 | pub mod primitive; | 4 | pub 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 | ||
3 | use std::fmt; | 6 | use std::fmt; |
4 | 7 | ||