mirror of
https://github.com/talwat/lowfi
synced 2025-03-12 08:02:52 +00:00
chore: format & bump version
This commit is contained in:
parent
768f976e89
commit
ca746c0902
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1453,7 +1453,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
||||
|
||||
[[package]]
|
||||
name = "lowfi"
|
||||
version = "1.6.3-dev"
|
||||
version = "1.6.2-dev"
|
||||
dependencies = [
|
||||
"Inflector",
|
||||
"arc-swap",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lowfi"
|
||||
version = "1.6.3-dev"
|
||||
version = "1.6.2-dev"
|
||||
edition = "2021"
|
||||
description = "An extremely simple lofi player."
|
||||
license = "MIT"
|
||||
|
@ -92,7 +92,11 @@ impl List {
|
||||
|
||||
/// Parses text into a [List].
|
||||
pub fn new(name: &str, text: &str) -> Self {
|
||||
let lines: Vec<String> = text.trim().lines().map(|x| x.trim_end().to_owned()).collect();
|
||||
let lines: Vec<String> = text
|
||||
.trim()
|
||||
.lines()
|
||||
.map(|x| x.trim_end().to_owned())
|
||||
.collect();
|
||||
|
||||
Self {
|
||||
lines,
|
||||
|
Loading…
x
Reference in New Issue
Block a user