Skip to content

Commit a7995bd

Browse files
committed
clippy
1 parent 5aca572 commit a7995bd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/auditing/info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub fn print_effect_src(
173173
};
174174

175175
// Print the information to the user
176-
term::emit(&mut writer.lock(), &codespan_config, &files, &diag)?;
176+
term::emit_to_write_style(&mut writer.lock(), &codespan_config, &files, &diag)?;
177177

178178
Ok(())
179179
}

src/effect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! - Effect, which represents an abstract effect
55
//! - EffectInstance, which represents an instance of an effect in source code
66
//! - EffectBlock, which represents a block of source code which may contain
7-
//! zero or more effects (such as an unsafe block).
7+
//! zero or more effects (such as an unsafe block).
88
99
use super::ident::{CanonicalPath, IdentPath};
1010
use super::sink::Sink;

0 commit comments

Comments
 (0)