Replace em dashes with hyphens across docs and comments
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ pub struct Config {
|
||||
|
||||
/// Per-printer CA certificate overrides, keyed by printer ID. Most
|
||||
/// Bambu printers chain to the bundled shared CA (`certs/bambu_ca2.pem`)
|
||||
/// and don't need an entry here — but some models (P1P, at least) ship
|
||||
/// and don't need an entry here - but some models (P1P, at least) ship
|
||||
/// their own certificate instead of one signed by that shared CA, with
|
||||
/// no single file covering all of them. Look up a printer's own entry
|
||||
/// (if any) when constructing it; there's no fleet-wide "the" override.
|
||||
@@ -42,7 +42,7 @@ impl Config {
|
||||
}
|
||||
|
||||
/// Parses `"printer_id=path,printer_id2=path2"` into a lookup map. Empty
|
||||
/// input (the common case — no overrides needed) yields an empty map.
|
||||
/// input (the common case - no overrides needed) yields an empty map.
|
||||
fn parse_cert_overrides(raw: &str) -> HashMap<String, PathBuf> {
|
||||
raw.split(',')
|
||||
.filter_map(|entry| entry.split_once('='))
|
||||
|
||||
Reference in New Issue
Block a user