Skip to content

Commit 2c1a4b0

Browse files
committed
Change function name
1 parent 0abd822 commit 2c1a4b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rs/eros/src/error_union.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ where
543543
}
544544

545545
/// Returns true if the inner error is of type `T`
546-
pub fn inner_is<T: 'static>(&self) -> bool {
546+
pub fn is_inner<T: 'static>(&self) -> bool {
547547
self.inner.is_error::<T>()
548548
}
549549

0 commit comments

Comments
 (0)