mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Document use of empty strings for defaults
This commit is contained in:
parent
7bb423f72e
commit
fe862523e6
1 changed files with 4 additions and 0 deletions
|
@ -24,7 +24,11 @@ impl ForeignData {
|
|||
|
||||
struct Context<'a> {
|
||||
col: &'a mut Collection,
|
||||
/// Notetypes by their name or id as string. The empty string yields the
|
||||
/// default notetype (which may be [None]).
|
||||
notetypes: HashMap<String, Option<Arc<Notetype>>>,
|
||||
/// Deck ids by their decks' name or id as string. The empty string yields
|
||||
/// the default deck (which may be [None]).
|
||||
deck_ids: HashMap<String, Option<DeckId>>,
|
||||
usn: Usn,
|
||||
normalize_notes: bool,
|
||||
|
|
Loading…
Reference in a new issue