summaryrefslogtreecommitdiffstats
path: root/src/test/ui/variance/variance-use-contravariant-struct-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/variance/variance-use-contravariant-struct-1.rs')
-rw-r--r--src/test/ui/variance/variance-use-contravariant-struct-1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/variance/variance-use-contravariant-struct-1.rs b/src/test/ui/variance/variance-use-contravariant-struct-1.rs
index 7f5906748..40781fbf0 100644
--- a/src/test/ui/variance/variance-use-contravariant-struct-1.rs
+++ b/src/test/ui/variance/variance-use-contravariant-struct-1.rs
@@ -1,4 +1,4 @@
-// Test various uses of structs with distint variances to make sure
+// Test various uses of structs with distinct variances to make sure
// they permit lifetimes to be approximated as expected.
struct SomeStruct<T>(fn(T));