about summary refs log tree commit diff
path: root/compiler/rustc_driver/src
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2021-10-02 07:21:01 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2021-10-02 08:05:44 +0700
commit058a21d5cf65021f3f468b445d003dbba74054db (patch)
treef53998aa9592987936fdb645b80cb7f65f308e82 /compiler/rustc_driver/src
parentc02371c442f811878ab3a0f5a813402b6dfd45d2 (diff)
downloadrust-058a21d5cf65021f3f468b445d003dbba74054db.tar.gz
rust-058a21d5cf65021f3f468b445d003dbba74054db.zip
Consistently use 'supertrait'.
A subset of places referred to 'super-trait', so this changes them
to all use 'supertrait'. This matches 'supertype' and some other
usages. An exception is 'auto-trait' which is consistently used
in that manner.
Diffstat (limited to 'compiler/rustc_driver/src')
-rw-r--r--compiler/rustc_driver/src/pretty.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_driver/src/pretty.rs b/compiler/rustc_driver/src/pretty.rs
index ff8920863b1..f5ae7e37277 100644
--- a/compiler/rustc_driver/src/pretty.rs
+++ b/compiler/rustc_driver/src/pretty.rs
@@ -88,7 +88,7 @@ trait PrinterSupport: pprust::PpAnn {
     /// Produces the pretty-print annotation object.
     ///
     /// (Rust does not yet support upcasting from a trait object to
-    /// an object for one of its super-traits.)
+    /// an object for one of its supertraits.)
     fn pp_ann(&self) -> &dyn pprust::PpAnn;
 }
 
@@ -104,7 +104,7 @@ trait HirPrinterSupport<'hir>: pprust_hir::PpAnn {
     /// Produces the pretty-print annotation object.
     ///
     /// (Rust does not yet support upcasting from a trait object to
-    /// an object for one of its super-traits.)
+    /// an object for one of its supertraits.)
     fn pp_ann(&self) -> &dyn pprust_hir::PpAnn;
 }