mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-03-12 20:00:31 +00:00
Comments and docs: add missing periods to "ie."
"i.e." is short for the Latin "id est" and thus both letters should be followed by periods.
This commit is contained in:
parent
89cf8319ca
commit
7ff962b02a
@ -742,7 +742,7 @@ impl CrateGraphBuilder {
|
||||
deps.into_iter()
|
||||
}
|
||||
|
||||
/// Returns all crates in the graph, sorted in topological order (ie. dependencies of a crate
|
||||
/// Returns all crates in the graph, sorted in topological order (i.e. dependencies of a crate
|
||||
/// come before the crate itself).
|
||||
fn crates_in_topological_order(&self) -> Vec<CrateBuilderId> {
|
||||
let mut res = Vec::new();
|
||||
|
||||
@ -146,7 +146,7 @@ impl Visibility {
|
||||
|
||||
/// Returns the most permissive visibility of `self` and `other`.
|
||||
///
|
||||
/// If there is no subset relation between `self` and `other`, returns `None` (ie. they're only
|
||||
/// If there is no subset relation between `self` and `other`, returns `None` (i.e. they're only
|
||||
/// visible in unrelated modules).
|
||||
pub(crate) fn max(
|
||||
self,
|
||||
@ -212,7 +212,7 @@ impl Visibility {
|
||||
|
||||
/// Returns the least permissive visibility of `self` and `other`.
|
||||
///
|
||||
/// If there is no subset relation between `self` and `other`, returns `None` (ie. they're only
|
||||
/// If there is no subset relation between `self` and `other`, returns `None` (i.e. they're only
|
||||
/// visible in unrelated modules).
|
||||
pub(crate) fn min(
|
||||
self,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user