From fdbd6bb11a0c47bf9ba1428e6bd432cd2ce72045 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 30 Sep 2019 11:58:53 +0300 Subject: Added test for check doc strings in crates. #1856 --- crates/ra_ide_api/src/assists.rs | 2 ++ crates/ra_ide_api/src/call_info.rs | 2 ++ crates/ra_ide_api/src/change.rs | 2 ++ crates/ra_ide_api/src/completion.rs | 2 ++ crates/ra_ide_api/src/completion/complete_dot.rs | 2 ++ crates/ra_ide_api/src/completion/complete_fn_param.rs | 2 ++ crates/ra_ide_api/src/completion/complete_keyword.rs | 2 ++ crates/ra_ide_api/src/completion/complete_macro_in_item_position.rs | 2 ++ crates/ra_ide_api/src/completion/complete_path.rs | 2 ++ crates/ra_ide_api/src/completion/complete_pattern.rs | 2 ++ crates/ra_ide_api/src/completion/complete_postfix.rs | 2 ++ crates/ra_ide_api/src/completion/complete_record_literal.rs | 2 ++ crates/ra_ide_api/src/completion/complete_record_pattern.rs | 2 ++ crates/ra_ide_api/src/completion/complete_scope.rs | 2 ++ crates/ra_ide_api/src/completion/complete_snippet.rs | 2 ++ crates/ra_ide_api/src/completion/completion_context.rs | 2 ++ crates/ra_ide_api/src/completion/completion_item.rs | 2 ++ crates/ra_ide_api/src/completion/presentation.rs | 1 + crates/ra_ide_api/src/db.rs | 2 ++ crates/ra_ide_api/src/diagnostics.rs | 2 ++ crates/ra_ide_api/src/display/function_signature.rs | 2 ++ crates/ra_ide_api/src/display/navigation_target.rs | 2 ++ crates/ra_ide_api/src/display/short_label.rs | 2 ++ crates/ra_ide_api/src/display/structure.rs | 2 ++ crates/ra_ide_api/src/extend_selection.rs | 2 ++ crates/ra_ide_api/src/feature_flags.rs | 2 ++ crates/ra_ide_api/src/folding_ranges.rs | 2 ++ crates/ra_ide_api/src/goto_definition.rs | 2 ++ crates/ra_ide_api/src/goto_type_definition.rs | 2 ++ crates/ra_ide_api/src/hover.rs | 2 ++ crates/ra_ide_api/src/impls.rs | 2 ++ crates/ra_ide_api/src/inlay_hints.rs | 2 ++ crates/ra_ide_api/src/join_lines.rs | 2 ++ crates/ra_ide_api/src/line_index.rs | 2 ++ crates/ra_ide_api/src/line_index_utils.rs | 2 ++ crates/ra_ide_api/src/marks.rs | 2 ++ crates/ra_ide_api/src/matching_brace.rs | 2 ++ crates/ra_ide_api/src/mock_analysis.rs | 2 ++ crates/ra_ide_api/src/name_ref_kind.rs | 2 ++ crates/ra_ide_api/src/parent_module.rs | 2 ++ crates/ra_ide_api/src/references.rs | 2 ++ crates/ra_ide_api/src/runnables.rs | 2 ++ crates/ra_ide_api/src/status.rs | 2 ++ crates/ra_ide_api/src/syntax_highlighting.rs | 2 ++ crates/ra_ide_api/src/syntax_tree.rs | 2 ++ crates/ra_ide_api/src/test_utils.rs | 2 ++ crates/ra_ide_api/src/typing.rs | 2 ++ crates/ra_ide_api/src/wasm_shims.rs | 2 ++ 48 files changed, 95 insertions(+) (limited to 'crates/ra_ide_api') diff --git a/crates/ra_ide_api/src/assists.rs b/crates/ra_ide_api/src/assists.rs index e3d1ac529..e00589733 100644 --- a/crates/ra_ide_api/src/assists.rs +++ b/crates/ra_ide_api/src/assists.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::{FilePosition, FileRange}; use crate::{db::RootDatabase, SourceChange, SourceFileEdit}; diff --git a/crates/ra_ide_api/src/call_info.rs b/crates/ra_ide_api/src/call_info.rs index d5e116526..7d18be483 100644 --- a/crates/ra_ide_api/src/call_info.rs +++ b/crates/ra_ide_api/src/call_info.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::SourceDatabase; use ra_syntax::{ algo::find_node_at_offset, diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs index 981851829..09913787b 100644 --- a/crates/ra_ide_api/src/change.rs +++ b/crates/ra_ide_api/src/change.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::{fmt, sync::Arc, time}; use ra_db::{ diff --git a/crates/ra_ide_api/src/completion.rs b/crates/ra_ide_api/src/completion.rs index 0ad414831..abe1f36ce 100644 --- a/crates/ra_ide_api/src/completion.rs +++ b/crates/ra_ide_api/src/completion.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + mod completion_item; mod completion_context; mod presentation; diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs index 9e64c8659..28c8324d0 100644 --- a/crates/ra_ide_api/src/completion/complete_dot.rs +++ b/crates/ra_ide_api/src/completion/complete_dot.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::{Adt, Ty, TypeCtor}; use crate::completion::completion_item::CompletionKind; diff --git a/crates/ra_ide_api/src/completion/complete_fn_param.rs b/crates/ra_ide_api/src/completion/complete_fn_param.rs index 6639b6fff..844a63f6c 100644 --- a/crates/ra_ide_api/src/completion/complete_fn_param.rs +++ b/crates/ra_ide_api/src/completion/complete_fn_param.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_syntax::{ algo::visit::{visitor_ctx, VisitorCtx}, ast, AstNode, diff --git a/crates/ra_ide_api/src/completion/complete_keyword.rs b/crates/ra_ide_api/src/completion/complete_keyword.rs index c527a9f63..3f121d45c 100644 --- a/crates/ra_ide_api/src/completion/complete_keyword.rs +++ b/crates/ra_ide_api/src/completion/complete_keyword.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_syntax::{ algo::visit::{visitor, Visitor}, ast::{self, LoopBodyOwner}, diff --git a/crates/ra_ide_api/src/completion/complete_macro_in_item_position.rs b/crates/ra_ide_api/src/completion/complete_macro_in_item_position.rs index 0cbe4abf7..d808b2357 100644 --- a/crates/ra_ide_api/src/completion/complete_macro_in_item_position.rs +++ b/crates/ra_ide_api/src/completion/complete_macro_in_item_position.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::completion::{CompletionContext, Completions}; pub(super) fn complete_macro_in_item_position(acc: &mut Completions, ctx: &CompletionContext) { diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index e9fec54d8..e01197fe4 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::{Adt, Either, PathResolution}; use ra_syntax::AstNode; use test_utils::tested_by; diff --git a/crates/ra_ide_api/src/completion/complete_pattern.rs b/crates/ra_ide_api/src/completion/complete_pattern.rs index c17b5b7ee..513ad6e5f 100644 --- a/crates/ra_ide_api/src/completion/complete_pattern.rs +++ b/crates/ra_ide_api/src/completion/complete_pattern.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::completion::{CompletionContext, Completions}; /// Completes constats and paths in patterns. diff --git a/crates/ra_ide_api/src/completion/complete_postfix.rs b/crates/ra_ide_api/src/completion/complete_postfix.rs index 3970d1af3..445a02676 100644 --- a/crates/ra_ide_api/src/completion/complete_postfix.rs +++ b/crates/ra_ide_api/src/completion/complete_postfix.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::{ completion::{ completion_context::CompletionContext, diff --git a/crates/ra_ide_api/src/completion/complete_record_literal.rs b/crates/ra_ide_api/src/completion/complete_record_literal.rs index ed4029964..4406695d5 100644 --- a/crates/ra_ide_api/src/completion/complete_record_literal.rs +++ b/crates/ra_ide_api/src/completion/complete_record_literal.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::Substs; use crate::completion::{CompletionContext, Completions}; diff --git a/crates/ra_ide_api/src/completion/complete_record_pattern.rs b/crates/ra_ide_api/src/completion/complete_record_pattern.rs index 70716b3d6..d20fa796c 100644 --- a/crates/ra_ide_api/src/completion/complete_record_pattern.rs +++ b/crates/ra_ide_api/src/completion/complete_record_pattern.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::Substs; use crate::completion::{CompletionContext, Completions}; diff --git a/crates/ra_ide_api/src/completion/complete_scope.rs b/crates/ra_ide_api/src/completion/complete_scope.rs index cb70a1f21..515a6285c 100644 --- a/crates/ra_ide_api/src/completion/complete_scope.rs +++ b/crates/ra_ide_api/src/completion/complete_scope.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_assists::auto_import_text_edit; use ra_syntax::{ast, AstNode, SmolStr}; use ra_text_edit::TextEditBuilder; diff --git a/crates/ra_ide_api/src/completion/complete_snippet.rs b/crates/ra_ide_api/src/completion/complete_snippet.rs index b06221c2a..2df79b6c3 100644 --- a/crates/ra_ide_api/src/completion/complete_snippet.rs +++ b/crates/ra_ide_api/src/completion/complete_snippet.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::completion::{ completion_item::Builder, CompletionContext, CompletionItem, CompletionItemKind, CompletionKind, Completions, diff --git a/crates/ra_ide_api/src/completion/completion_context.rs b/crates/ra_ide_api/src/completion/completion_context.rs index 57542152f..e9ad06965 100644 --- a/crates/ra_ide_api/src/completion/completion_context.rs +++ b/crates/ra_ide_api/src/completion/completion_context.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_syntax::{ algo::{find_covering_element, find_node_at_offset}, ast, AstNode, Parse, SourceFile, diff --git a/crates/ra_ide_api/src/completion/completion_item.rs b/crates/ra_ide_api/src/completion/completion_item.rs index d787bb69e..b1f0390ec 100644 --- a/crates/ra_ide_api/src/completion/completion_item.rs +++ b/crates/ra_ide_api/src/completion/completion_item.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::fmt; use hir::Documentation; diff --git a/crates/ra_ide_api/src/completion/presentation.rs b/crates/ra_ide_api/src/completion/presentation.rs index b8aa433c1..48028a2f9 100644 --- a/crates/ra_ide_api/src/completion/presentation.rs +++ b/crates/ra_ide_api/src/completion/presentation.rs @@ -1,4 +1,5 @@ //! This modules takes care of rendering various definitions as completion items. + use hir::{Docs, HasSource, HirDisplay, ScopeDef, Ty, TypeWalk}; use join_to_string::join; use ra_syntax::ast::NameOwner; diff --git a/crates/ra_ide_api/src/db.rs b/crates/ra_ide_api/src/db.rs index afd9022ce..ea0714add 100644 --- a/crates/ra_ide_api/src/db.rs +++ b/crates/ra_ide_api/src/db.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::sync::Arc; use ra_db::{ diff --git a/crates/ra_ide_api/src/diagnostics.rs b/crates/ra_ide_api/src/diagnostics.rs index 144bc0a70..d8a712e27 100644 --- a/crates/ra_ide_api/src/diagnostics.rs +++ b/crates/ra_ide_api/src/diagnostics.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::cell::RefCell; use hir::diagnostics::{AstDiagnostic, Diagnostic as _, DiagnosticSink}; diff --git a/crates/ra_ide_api/src/display/function_signature.rs b/crates/ra_ide_api/src/display/function_signature.rs index 644a4532b..43f022ccd 100644 --- a/crates/ra_ide_api/src/display/function_signature.rs +++ b/crates/ra_ide_api/src/display/function_signature.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::fmt::{self, Display}; use hir::{Docs, Documentation, HasSource}; diff --git a/crates/ra_ide_api/src/display/navigation_target.rs b/crates/ra_ide_api/src/display/navigation_target.rs index d3e774bd0..60ae802c0 100644 --- a/crates/ra_ide_api/src/display/navigation_target.rs +++ b/crates/ra_ide_api/src/display/navigation_target.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::{AssocItem, FieldSource, HasSource, ModuleSource}; use ra_db::{FileId, SourceDatabase}; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/display/short_label.rs b/crates/ra_ide_api/src/display/short_label.rs index b16d504e1..5d2bce3d2 100644 --- a/crates/ra_ide_api/src/display/short_label.rs +++ b/crates/ra_ide_api/src/display/short_label.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use format_buf::format; use ra_syntax::ast::{self, AstNode, NameOwner, TypeAscriptionOwner, VisibilityOwner}; diff --git a/crates/ra_ide_api/src/display/structure.rs b/crates/ra_ide_api/src/display/structure.rs index be042ed17..cae49567f 100644 --- a/crates/ra_ide_api/src/display/structure.rs +++ b/crates/ra_ide_api/src/display/structure.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::TextRange; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/extend_selection.rs b/crates/ra_ide_api/src/extend_selection.rs index e990eb0d1..33fefb541 100644 --- a/crates/ra_ide_api/src/extend_selection.rs +++ b/crates/ra_ide_api/src/extend_selection.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::SourceDatabase; use ra_syntax::{ algo::find_covering_element, diff --git a/crates/ra_ide_api/src/feature_flags.rs b/crates/ra_ide_api/src/feature_flags.rs index 9f82ac71c..d3ca7be03 100644 --- a/crates/ra_ide_api/src/feature_flags.rs +++ b/crates/ra_ide_api/src/feature_flags.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use rustc_hash::FxHashMap; /// Feature flags hold fine-grained toggles for all *user-visible* features of diff --git a/crates/ra_ide_api/src/folding_ranges.rs b/crates/ra_ide_api/src/folding_ranges.rs index 79fadcc5d..4eeb76d14 100644 --- a/crates/ra_ide_api/src/folding_ranges.rs +++ b/crates/ra_ide_api/src/folding_ranges.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use rustc_hash::FxHashSet; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/goto_definition.rs b/crates/ra_ide_api/src/goto_definition.rs index bc8863dad..567d4a674 100644 --- a/crates/ra_ide_api/src/goto_definition.rs +++ b/crates/ra_ide_api/src/goto_definition.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::{FileId, SourceDatabase}; use ra_syntax::{ algo::{ diff --git a/crates/ra_ide_api/src/goto_type_definition.rs b/crates/ra_ide_api/src/goto_type_definition.rs index 72884e5ca..059d80524 100644 --- a/crates/ra_ide_api/src/goto_type_definition.rs +++ b/crates/ra_ide_api/src/goto_type_definition.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::SourceDatabase; use ra_syntax::{ast, AstNode}; diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs index 655bcdb16..200b57679 100644 --- a/crates/ra_ide_api/src/hover.rs +++ b/crates/ra_ide_api/src/hover.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::{Adt, HasSource, HirDisplay}; use ra_db::SourceDatabase; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/impls.rs b/crates/ra_ide_api/src/impls.rs index f57f9a21b..7fc1b1efa 100644 --- a/crates/ra_ide_api/src/impls.rs +++ b/crates/ra_ide_api/src/impls.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::{db::HirDatabase, ApplicationTy, FromSource, Ty, TypeCtor}; use ra_db::SourceDatabase; use ra_syntax::{algo::find_node_at_offset, ast, AstNode}; diff --git a/crates/ra_ide_api/src/inlay_hints.rs b/crates/ra_ide_api/src/inlay_hints.rs index 16bdcf9d1..9b45575f8 100644 --- a/crates/ra_ide_api/src/inlay_hints.rs +++ b/crates/ra_ide_api/src/inlay_hints.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::{db::RootDatabase, FileId}; use hir::{HirDisplay, SourceAnalyzer, Ty}; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/join_lines.rs b/crates/ra_ide_api/src/join_lines.rs index a71e4ed7d..6f71b27db 100644 --- a/crates/ra_ide_api/src/join_lines.rs +++ b/crates/ra_ide_api/src/join_lines.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use itertools::Itertools; use ra_fmt::{compute_ws, extract_trivial_expression}; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/line_index.rs b/crates/ra_ide_api/src/line_index.rs index 5fedad696..710890d27 100644 --- a/crates/ra_ide_api/src/line_index.rs +++ b/crates/ra_ide_api/src/line_index.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::TextUnit; use rustc_hash::FxHashMap; use superslice::Ext; diff --git a/crates/ra_ide_api/src/line_index_utils.rs b/crates/ra_ide_api/src/line_index_utils.rs index 534009b98..bd1e08feb 100644 --- a/crates/ra_ide_api/src/line_index_utils.rs +++ b/crates/ra_ide_api/src/line_index_utils.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::{line_index::Utf16Char, LineCol, LineIndex}; use ra_syntax::{TextRange, TextUnit}; use ra_text_edit::{AtomTextEdit, TextEdit}; diff --git a/crates/ra_ide_api/src/marks.rs b/crates/ra_ide_api/src/marks.rs index c3752cc54..3f4ba248b 100644 --- a/crates/ra_ide_api/src/marks.rs +++ b/crates/ra_ide_api/src/marks.rs @@ -1,3 +1,5 @@ +//! See test_utils/src/marks.rs + test_utils::marks!( inserts_parens_for_function_calls goto_definition_works_for_macros diff --git a/crates/ra_ide_api/src/matching_brace.rs b/crates/ra_ide_api/src/matching_brace.rs index e802d01e4..d1204fac0 100644 --- a/crates/ra_ide_api/src/matching_brace.rs +++ b/crates/ra_ide_api/src/matching_brace.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_syntax::{ast::AstNode, SourceFile, SyntaxKind, TextUnit, T}; pub fn matching_brace(file: &SourceFile, offset: TextUnit) -> Option { diff --git a/crates/ra_ide_api/src/mock_analysis.rs b/crates/ra_ide_api/src/mock_analysis.rs index 132f6f875..16870c7ae 100644 --- a/crates/ra_ide_api/src/mock_analysis.rs +++ b/crates/ra_ide_api/src/mock_analysis.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::sync::Arc; use relative_path::RelativePathBuf; diff --git a/crates/ra_ide_api/src/name_ref_kind.rs b/crates/ra_ide_api/src/name_ref_kind.rs index aff03464a..149585971 100644 --- a/crates/ra_ide_api/src/name_ref_kind.rs +++ b/crates/ra_ide_api/src/name_ref_kind.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::Either; use ra_syntax::{ast, AstNode, AstPtr}; use test_utils::tested_by; diff --git a/crates/ra_ide_api/src/parent_module.rs b/crates/ra_ide_api/src/parent_module.rs index 3668da8d7..c85f1d0d0 100644 --- a/crates/ra_ide_api/src/parent_module.rs +++ b/crates/ra_ide_api/src/parent_module.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::{CrateId, FileId, FilePosition}; use crate::{db::RootDatabase, NavigationTarget}; diff --git a/crates/ra_ide_api/src/references.rs b/crates/ra_ide_api/src/references.rs index acca71f2a..84c2eb793 100644 --- a/crates/ra_ide_api/src/references.rs +++ b/crates/ra_ide_api/src/references.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use hir::{Either, ModuleSource}; use ra_db::SourceDatabase; use ra_syntax::{algo::find_node_at_offset, ast, AstNode, SourceFile, SyntaxNode}; diff --git a/crates/ra_ide_api/src/runnables.rs b/crates/ra_ide_api/src/runnables.rs index 8cf58fe79..910883da7 100644 --- a/crates/ra_ide_api/src/runnables.rs +++ b/crates/ra_ide_api/src/runnables.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use itertools::Itertools; use ra_db::SourceDatabase; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/status.rs b/crates/ra_ide_api/src/status.rs index dee2ea46a..f91f16c8e 100644 --- a/crates/ra_ide_api/src/status.rs +++ b/crates/ra_ide_api/src/status.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use std::{fmt, iter::FromIterator, sync::Arc}; use hir::MacroFile; diff --git a/crates/ra_ide_api/src/syntax_highlighting.rs b/crates/ra_ide_api/src/syntax_highlighting.rs index 3d7f91c1d..9ae2dc061 100644 --- a/crates/ra_ide_api/src/syntax_highlighting.rs +++ b/crates/ra_ide_api/src/syntax_highlighting.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use rustc_hash::{FxHashMap, FxHashSet}; use hir::{Mutability, Ty}; diff --git a/crates/ra_ide_api/src/syntax_tree.rs b/crates/ra_ide_api/src/syntax_tree.rs index e2bb120b4..4d0f0fc47 100644 --- a/crates/ra_ide_api/src/syntax_tree.rs +++ b/crates/ra_ide_api/src/syntax_tree.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use crate::db::RootDatabase; use ra_db::SourceDatabase; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/test_utils.rs b/crates/ra_ide_api/src/test_utils.rs index 6e0d883b4..8adb214d4 100644 --- a/crates/ra_ide_api/src/test_utils.rs +++ b/crates/ra_ide_api/src/test_utils.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_syntax::{SourceFile, TextUnit}; use ra_text_edit::TextEdit; diff --git a/crates/ra_ide_api/src/typing.rs b/crates/ra_ide_api/src/typing.rs index 2d4491442..2f5782012 100644 --- a/crates/ra_ide_api/src/typing.rs +++ b/crates/ra_ide_api/src/typing.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + use ra_db::{FilePosition, SourceDatabase}; use ra_fmt::leading_indent; use ra_syntax::{ diff --git a/crates/ra_ide_api/src/wasm_shims.rs b/crates/ra_ide_api/src/wasm_shims.rs index 592dddf44..088cc9be4 100644 --- a/crates/ra_ide_api/src/wasm_shims.rs +++ b/crates/ra_ide_api/src/wasm_shims.rs @@ -1,3 +1,5 @@ +//! FIXME: write short doc here + #[cfg(not(feature = "wasm"))] pub use std::time::Instant; -- cgit v1.2.3