Browse Source

Add symlink to README in repo root.

Kestrel 2 years ago
parent
commit
3feb6c70c1
2 changed files with 3 additions and 1 deletions
  1. 1 0
      README.md
  2. 2 1
      microrm-macros/src/lib.rs

+ 1 - 0
README.md

@@ -0,0 +1 @@
+microrm/README.md

+ 2 - 1
microrm-macros/src/lib.rs

@@ -43,7 +43,8 @@ fn parse_fk(attrs: &[syn::Attribute]) -> bool {
 /// The following are understood for the Entity struct:
 /// The following are understood for the Entity struct:
 /// - `#[microrm_internal]`: this is internal to the microrm crate (of extremely limited usefulness
 /// - `#[microrm_internal]`: this is internal to the microrm crate (of extremely limited usefulness
 /// outside the microrm library)
 /// outside the microrm library)
-/// The following are understood on individual fields
+///
+/// The following are understood on individual fields:
 /// - `#[microrm_foreign]`: this is a foreign key (and the field must be of a type implementing `EntityID`)
 /// - `#[microrm_foreign]`: this is a foreign key (and the field must be of a type implementing `EntityID`)
 #[proc_macro_derive(Entity, attributes(microrm_internal, microrm_foreign))]
 #[proc_macro_derive(Entity, attributes(microrm_internal, microrm_foreign))]
 pub fn derive_entity(tokens: TokenStream) -> TokenStream {
 pub fn derive_entity(tokens: TokenStream) -> TokenStream {