]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/check/autoderef.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_typeck / check / autoderef.rs
index 2cd2bb5064877a2c9502e351bad54216a0b2ac36..1b594342c9a7179944fc9f42c7c2fec7f6a476b5 100644 (file)
@@ -203,7 +203,7 @@ pub fn adjust_steps_as_infer_ok(&self, needs: Needs)
     }
 
     /// also dereference through raw pointer types
-    /// e.g. assuming ptr_to_Foo is the type `*const Foo`
+    /// e.g., assuming ptr_to_Foo is the type `*const Foo`
     /// fcx.autoderef(span, ptr_to_Foo)  => [*const Foo]
     /// fcx.autoderef(span, ptr_to_Foo).include_raw_ptrs() => [*const Foo, Foo]
     pub fn include_raw_pointers(mut self) -> Self {