Skip to content

Commit 1e9c0bc

Browse files
toku-sa-nGabrielMajeri
authored andcommitted
fix: wrong lint name
1 parent 7111d5f commit 1e9c0bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/result/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl Status {
125125

126126
/// Converts this status code into a result with a given value.
127127
#[inline]
128-
#[allow(clippy::clippy::result_unit_err)]
128+
#[allow(clippy::result_unit_err)]
129129
pub fn into_with_val<T>(self, val: impl FnOnce() -> T) -> Result<T, ()> {
130130
if !self.is_error() {
131131
Ok(Completion::new(self, val()))

0 commit comments

Comments
 (0)