summaryrefslogtreecommitdiffstats
path: root/sample_files/comments_1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sample_files/comments_1.rs')
-rw-r--r--sample_files/comments_1.rs23
1 files changed, 23 insertions, 0 deletions
diff --git a/sample_files/comments_1.rs b/sample_files/comments_1.rs
new file mode 100644
index 000000000..e80d794d1
--- /dev/null
+++ b/sample_files/comments_1.rs
@@ -0,0 +1,23 @@
+// Unchanged comment.
+f1();
+
+// Changing a single word.
+f2();
+
+// A completely different sentence.
+f3();
+
+if true {
+ /* A multiline comment
+ * whose indentation changes.
+ */
+}
+
+// An example environment variable: FOO="a-b"
+
+// A single line comment.
+
+/** A doc comment.
+ *
+ * This line will change.
+ */