Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-erwin committed Feb 27, 2024
1 parent 45dd3fa commit 73deb20
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unlimited"
version = "0.0.5"
version = "0.0.6"
authors = ["Carl-Erwin Griffith <[email protected]>"]
license = "MIT"

Expand Down
1 change: 0 additions & 1 deletion src/core/editor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pub use editor::Editor;
pub use env::EditorEnv;

pub use editor::*;
pub use env::*;

pub fn user_is_idle() -> bool {
!user_is_active()
Expand Down
2 changes: 1 addition & 1 deletion src/core/modes/core_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ pub fn help_popup(
_view: &Rc<RwLock<View>>,
) {
let root_view_id = editor.root_views[env.root_view_index];
let (root_width, root_height) = get_view_by_id(editor, root_view_id).read().dimension();
let (root_width, _root_height) = get_view_by_id(editor, root_view_id).read().dimension();

// destroy previous
{
Expand Down
1 change: 0 additions & 1 deletion src/core/modes/text_mode/text_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,6 @@ pub fn remove_until_end_of_word(
// ugly cut/paste
#[derive(Debug, Clone, Copy, PartialEq)]
enum TokenType {
Unknown,
InvalidUnicode,
Blank, // ' ' | '\n' | '\t' : TODO(ceg): specific END_OF_LINE ?
Identifier, // _a-zA-Z unicode // default ?
Expand Down

0 comments on commit 73deb20

Please sign in to comment.