Browse Source

Clippy

master
Julio Biason 4 years ago
parent
commit
dab2e47cab
  1. 2
      src/config/mod.rs
  2. 1
      src/storage/helpers.rs

2
src/config/mod.rs

@ -23,8 +23,6 @@ use elefren::Data;
use serde_derive::Deserialize; use serde_derive::Deserialize;
use serde_derive::Serialize; use serde_derive::Serialize;
use toml;
#[derive(Serialize, Deserialize, Debug)] #[derive(Serialize, Deserialize, Debug)]
pub struct JoplinConfig { pub struct JoplinConfig {
pub port: u32, pub port: u32,

1
src/storage/helpers.rs

@ -16,7 +16,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
use crate::storage::data::Data; use crate::storage::data::Data;
use html2md;
pub fn make_markdown(status: &Data) -> String { pub fn make_markdown(status: &Data) -> String {
let base_content = html2md::parse_html(&status.text); let base_content = html2md::parse_html(&status.text);

Loading…
Cancel
Save