3369: Reduce visibility r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-02-28 16:28:53 +00:00 committed by GitHub
commit d2bf2adc27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ macro_rules! impl_froms {
mod semantics;
pub mod db;
pub mod source_analyzer;
pub mod source_binder;
mod source_analyzer;
mod source_binder;
pub mod diagnostics;

View File

@ -26,7 +26,7 @@ use ra_prof::profile;
/// Primary API to get semantic information, like types, from syntax trees.
pub struct Semantics<'db, DB> {
pub db: &'db DB,
pub(crate) sb: RefCell<SourceBinder>,
sb: RefCell<SourceBinder>,
cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>,
}