Skip to content

Commit

Permalink
chore: fix un-needed fully qualified path (#3755)
Browse files Browse the repository at this point in the history
# Description

Since we already import FileMap with the usepath, using fm::FileMap is
redundant

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*



## Additional Context



## Documentation\*

Check one:
- [ ] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [ ] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
kevaundray authored Dec 10, 2023
1 parent c043265 commit b0289f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/fm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub const FILE_EXTENSION: &str = "nr";

pub struct FileManager {
root: PathBuf,
file_map: file_map::FileMap,
file_map: FileMap,
id_to_path: HashMap<FileId, PathBuf>,
path_to_id: HashMap<PathBuf, FileId>,
file_reader: Box<FileReader>,
Expand Down

0 comments on commit b0289f2

Please sign in to comment.