hedgedoc: mark unused param as unused

This commit is contained in:
nobody 2024-08-17 06:40:26 +02:00 committed by murmeldin
parent 248f1f227a
commit e4aae07113

View file

@ -96,6 +96,6 @@ impl HedgeDoc {
}
/// For the config, make a new pad ID (by actually making a pad.)
fn make_pad_id(key: &str, config: &crate::KV, is_dry_run: bool) -> Result<String, Box<dyn Error>> {
fn make_pad_id(_key: &str, config: &crate::KV, is_dry_run: bool) -> Result<String, Box<dyn Error>> {
HedgeDoc::new(&config.get("hedgedoc-server-url").unwrap(), is_dry_run).create_pad()
}