Skip to content

Commit

Permalink
Fix syntax in model macro docstring (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Jan 26, 2024
1 parent b4920ad commit 46fbcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion butane_codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mod filter;
/// * `#[pk]` on a field to specify that it is the primary key.
/// * `#[unique]` on a field indicates that the field's value must be unique
/// (perhaps implemented as the SQL UNIQUE constraint by some backends).
/// * `[default]` should be used on fields added by later migrations to avoid errors on existing objects.
/// * `#[default]` should be used on fields added by later migrations to avoid errors on existing objects.
/// Unnecessary if the new field is an `Option<>`
///
/// For example
Expand Down

0 comments on commit 46fbcb7

Please sign in to comment.