Skip to content

Commit

Permalink
Account for mutable references
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Feb 1, 2024
1 parent 79a12a0 commit 6d6c72b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/etc/lldb_commands
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ type summary add -F lldb_lookup.summary_lookup -e -x -h "^(core::([a-z_]+::)+)R
type summary add -F lldb_lookup.summary_lookup -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
type summary add -F lldb_lookup.summary_lookup -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
type summary add -F lldb_lookup.summary_lookup -e -x -h "^std::path::PathBuf$" --category Rust
type summary add -F lldb_lookup.summary_lookup -e -x -h "^&std::path::Path$" --category Rust
type summary add -F lldb_lookup.summary_lookup -e -x -h "^&(mut )?std::path::Path$" --category Rust
type category enable Rust
2 changes: 1 addition & 1 deletion src/etc/rust_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RustType(object):
STD_REF_CELL_REGEX = re.compile(r"^(core::(\w+::)+)RefCell<.+>$")
STD_NONZERO_NUMBER_REGEX = re.compile(r"^core::num::([a-z_]+::)*NonZero.+$")
STD_PATHBUF_REGEX = re.compile(r"^std::path::PathBuf$")
STD_PATH_REGEX = re.compile(r"^&std::path::Path$")
STD_PATH_REGEX = re.compile(r"^&(mut )?std::path::Path$")

TUPLE_ITEM_REGEX = re.compile(r"__\d+$")

Expand Down

0 comments on commit 6d6c72b

Please sign in to comment.