Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pfoerster committed Nov 25, 2019
1 parent ee2fb06 commit 28ffe36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ pub enum Action {
}

#[derive(Debug, Default)]
pub struct ActionMananger {
pub struct ActionManager {
actions: Mutex<Vec<Action>>,
}

impl ActionMananger {
impl ActionManager {
pub fn push(&self, action: Action) {
let mut actions = self.actions.lock().unwrap();
actions.push(action);
Expand Down
6 changes: 3 additions & 3 deletions src/server.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::action::{Action, ActionMananger, LintReason};
use crate::action::{Action, ActionManager, LintReason};
use crate::build::*;
use crate::capabilities::ClientCapabilitiesExt;
use crate::citeproc::render_citation;
Expand Down Expand Up @@ -39,7 +39,7 @@ pub struct LatexLspServer<C> {
client: Arc<C>,
client_capabilities: OnceCell<Arc<ClientCapabilities>>,
workspace_manager: WorkspaceManager,
action_manager: ActionMananger,
action_manager: ActionManager,
diagnostics_manager: Mutex<DiagnosticsManager>,
completion_provider: CompletionProvider,
definition_provider: DefinitionProvider,
Expand All @@ -62,7 +62,7 @@ impl<C: LspClient + Send + Sync + 'static> LatexLspServer<C> {
client,
client_capabilities: OnceCell::new(),
workspace_manager: WorkspaceManager::default(),
action_manager: ActionMananger::default(),
action_manager: ActionManager::default(),
diagnostics_manager: Mutex::new(DiagnosticsManager::default()),
completion_provider: CompletionProvider::new(),
definition_provider: DefinitionProvider::new(),
Expand Down

0 comments on commit 28ffe36

Please sign in to comment.