Make naming more uniform

This commit is contained in:
Aleksey Kladov 2020-03-12 17:38:48 +01:00
parent d98a5fab46
commit fd3ece2b73
6 changed files with 35 additions and 35 deletions

View file

@ -68,7 +68,7 @@ pub use crate::{
expand_macro::ExpandedMacro,
folding_ranges::{Fold, FoldKind},
hover::HoverResult,
inlay_hints::{InlayConfig, InlayHint, InlayKind},
inlay_hints::{InlayHint, InlayHintsOptions, InlayKind},
references::{Declaration, Reference, ReferenceAccess, ReferenceKind, ReferenceSearchResult},
runnables::{Runnable, RunnableKind, TestId},
source_change::{FileSystemEdit, SourceChange, SourceFileEdit},
@ -319,7 +319,7 @@ impl Analysis {
pub fn inlay_hints(
&self,
file_id: FileId,
inlay_hint_opts: &InlayConfig,
inlay_hint_opts: &InlayHintsOptions,
) -> Cancelable<Vec<InlayHint>> {
self.with_db(|db| inlay_hints::inlay_hints(db, file_id, inlay_hint_opts))
}