Updated plugins
This commit is contained in:
@@ -142,7 +142,7 @@ snippet stn "Struct with new constructor"
|
||||
}
|
||||
|
||||
impl $1 {
|
||||
pub fn new(${2}) -> $1 {
|
||||
pub fn new(${2}) -> Self {
|
||||
$1 { ${3} }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user