Remove all pub.

This commit is contained in:
Tom Alexander
2023-09-11 13:11:08 -04:00
parent a74319d381
commit 7650a9edff
71 changed files with 493 additions and 493 deletions

View File

@@ -7,15 +7,15 @@ use crate::types::Object;
// TODO: Ultimately, I think we'll need most of this: https://orgmode.org/manual/In_002dbuffer-Settings.html
#[derive(Debug, Clone)]
pub struct GlobalSettings<'g, 's> {
pub radio_targets: Vec<&'g Vec<Object<'s>>>,
pub file_access: &'g dyn FileAccessInterface,
pub in_progress_todo_keywords: BTreeSet<String>,
pub complete_todo_keywords: BTreeSet<String>,
struct GlobalSettings<'g, 's> {
radio_targets: Vec<&'g Vec<Object<'s>>>,
file_access: &'g dyn FileAccessInterface,
in_progress_todo_keywords: BTreeSet<String>,
complete_todo_keywords: BTreeSet<String>,
}
impl<'g, 's> GlobalSettings<'g, 's> {
pub fn new() -> GlobalSettings<'g, 's> {
fn new() -> GlobalSettings<'g, 's> {
GlobalSettings {
radio_targets: Vec::new(),
file_access: &LocalFileAccessInterface {