about summary refs log tree commit diff
path: root/src/comment.rs
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2016-05-15 22:19:44 +0530
committerSrinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>2016-05-15 22:24:46 +0530
commit952a6beb51e916bce83a854ad1bf9cef6ba4e624 (patch)
tree903c955996d72306f8e1d12dab401c42c54c11c7 /src/comment.rs
parent9b05461666273bd9d7d9da1fd7458b8c943d2298 (diff)
change normalise spelling to American version - normalize as American english is more common across programming community
Diffstat (limited to 'src/comment.rs')
-rw-r--r--src/comment.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comment.rs b/src/comment.rs
index 83ea21b91e8..e417e29936e 100644
--- a/src/comment.rs
+++ b/src/comment.rs
@@ -31,7 +31,7 @@ pub fn rewrite_comment(orig: &str,
     // Edge case: block comments. Let's not trim their lines (for now).
     let (opener, closer, line_start) = if block_style {
         ("/* ", " */", " * ")
-    } else if !config.normalise_comments {
+    } else if !config.normalize_comments {
         if orig.starts_with("/**") {
             ("/** ", " **/", " ** ")
         } else if orig.starts_with("/*!") {