Enable and fix several more clippy lints.
This commit is contained in:
@@ -17,7 +17,7 @@ pub struct SourceLoc(u32);
|
||||
|
||||
impl SourceLoc {
|
||||
/// Create a new source location with the given bits.
|
||||
pub fn new(bits: u32) -> SourceLoc {
|
||||
pub fn new(bits: u32) -> Self {
|
||||
SourceLoc(bits)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user