Mercurial > lbo > hg > localmr
changeset 75:8ebc14271d3c
Rust fmt on record types
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 07 Feb 2016 09:16:08 +0000 |
parents | fb6d8991bcc9 |
children | 8d84dcb8f264 |
files | src/record_types.rs |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/record_types.rs Sun Feb 07 09:15:47 2016 +0000 +++ b/src/record_types.rs Sun Feb 07 09:16:08 2016 +0000 @@ -10,7 +10,10 @@ /// Shortcut for creating a record. pub fn mk_rcrd(k: &str, v: &str) -> Record { - Record { key: String::from(k), value: String::from(v) } + Record { + key: String::from(k), + value: String::from(v), + } } impl PartialOrd for Record {