diff --git a/snippets/rust.json b/snippets/rust.json index 5bf22acf..8f85b71b 100644 --- a/snippets/rust.json +++ b/snippets/rust.json @@ -70,5 +70,12 @@ "}" ], "description": "#[test]" + }, + "String::from()": { + "prefix": "strfrom", + "body": [ + "String::from(\"$1\")$0" + ], + "description": "String::from(\"…\")" } -} +} \ No newline at end of file