瀏覽代碼

Fixed typo

norm 6 年之前
父節點
當前提交
9fd95bf006
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      guidelines.md

+ 2 - 2
guidelines.md

@@ -18,11 +18,11 @@ Commits should be on point, documented and as small as possible.
 
 
 Check for removed or added blank lines on each commit.
 Check for removed or added blank lines on each commit.
 
 
-### 2. Use std::remove_if, std::remove & ... within std::vector::earse
+### 2. Use std::remove_if, std::remove & ... within std::vector::erase
 
 
 ##### Reason
 ##### Reason
 
 
-`std::vector` requires to be shrinked after using `std::remove`. To avoid forgetting about proper shrinking after removing an element the removing should always be bound to a call to `earse`.
+`std::vector` requires to be shrinked after using `std::remove`. To avoid forgetting about proper shrinking after removing an element the removing should always be bound to a call to `erase`.
 
 
 ##### Note
 ##### Note