diff --git a/pkg/machinery/marker.go b/pkg/machinery/marker.go index 194e795d3c0..42daa9e17ba 100644 --- a/pkg/machinery/marker.go +++ b/pkg/machinery/marker.go @@ -28,6 +28,7 @@ var commentsByExt = map[string]string{ ".go": "//", ".yaml": "#", ".yml": "#", + ".rs": "//", // When adding additional file extensions, update also the NewMarkerFor documentation and error }