We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a1287 commit eb21cedCopy full SHA for eb21ced
doc/tutorial.md
@@ -214,6 +214,11 @@ while count < 10 {
214
}
215
~~~~
216
217
+The name of the function that prints a line of text, `io::println`, is
218
+qualified: it refers to the function named `println` that's defined in the
219
+module `io`. In Rust, a double colon---`::`---separates parts of a
220
+qualified name. For more details, see the section on [crates](#crates).
221
+
222
Although Rust can almost always infer the types of local variables, you
223
can specify a variable's type by following it with a colon, then the type
224
name.
0 commit comments