mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -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> {
|
struct Context<'a> {
|
||||||
col: &'a mut Collection,
|
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>>>,
|
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>>,
|
deck_ids: HashMap<String, Option<DeckId>>,
|
||||||
usn: Usn,
|
usn: Usn,
|
||||||
normalize_notes: bool,
|
normalize_notes: bool,
|
||||||
|
|
Loading…
Reference in a new issue