Skip to content

Commit

Permalink
Remove unused errors (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter authored Jun 1, 2024
1 parent d6203d3 commit 67cd2b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Renamed `Context::const_value` to `Context::get_const` and tweaked its return
type to match `Context::get_var`.
- Added `impl From<i32> for Tree` to make writing tree expressions easier
- Removed `Error::ReservedName` and `Error::DuplicateName`, which were unused

# 0.3.0
- Major refactoring of core evaluation traits
Expand Down
8 changes: 0 additions & 8 deletions fidget/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@ pub enum Error {
#[error("variable index ({0}) exceeds max var index for this tape ({1})")]
BadVarIndex(usize, usize),

/// This name is reserved for 3D coordinates
#[error("this name is reserved for 3D coordinates")]
ReservedName,

/// This name has already been used
#[error("this name has already been used")]
DuplicateName,

/// io error; see inner code for details
#[error("io error: {0}")]
IoError(#[from] std::io::Error),
Expand Down

0 comments on commit 67cd2b6

Please sign in to comment.