Minor fixes.
This commit is contained in:
parent
b838259a8b
commit
0fa466dd6b
2 changed files with 5 additions and 5 deletions
|
@ -19,11 +19,11 @@ use edn::types::Value;
|
||||||
/// Declare a lazy static `ident` of type `Value::Keyword` with the given `namespace` and
|
/// Declare a lazy static `ident` of type `Value::Keyword` with the given `namespace` and
|
||||||
/// `name`.
|
/// `name`.
|
||||||
///
|
///
|
||||||
/// It may look surprising that we declare a new `lazy_static!` block rather than including
|
/// It may look surprising to declare a new `lazy_static!` block rather than including
|
||||||
/// invocations inside an existing `lazy_static!` block. The latter cannot be done, since macros
|
/// invocations inside an existing `lazy_static!` block. The latter cannot be done, since macros
|
||||||
/// are expanded outside-in. Looking at the `lazy_static!` source suggests that there is no harm in
|
/// will be expanded outside-in. Looking at the `lazy_static!` source suggests that there is no
|
||||||
/// repeating that macro, since internally a multi-`static` block is expanded into many
|
/// harm in repeating that macro, since internally a multi-`static` block will be expanded into
|
||||||
/// single-`static` blocks.
|
/// many single-`static` blocks.
|
||||||
///
|
///
|
||||||
/// TODO: take just ":db.part/db" and define DB_PART_DB using "db.part" and "db".
|
/// TODO: take just ":db.part/db" and define DB_PART_DB using "db.part" and "db".
|
||||||
macro_rules! lazy_static_namespaced_keyword_value (
|
macro_rules! lazy_static_namespaced_keyword_value (
|
||||||
|
|
|
@ -662,7 +662,7 @@ pub struct AttributeCaches {
|
||||||
non_unique_reverse: BTreeMap<Entid, NonUniqueReverseAttributeCache>,
|
non_unique_reverse: BTreeMap<Entid, NonUniqueReverseAttributeCache>,
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: if an entity or attribute is ever renumbered, the cache will need to be rebuilt.
|
// TODO: if an entity or attribute is ever re-numbered, the cache will need to be rebuilt.
|
||||||
impl AttributeCaches {
|
impl AttributeCaches {
|
||||||
//
|
//
|
||||||
// These function names are brief and local.
|
// These function names are brief and local.
|
||||||
|
|
Loading…
Reference in a new issue