diff --git a/doc/langref.html.in b/doc/langref.html.in
index 9ece339172a41e58e2907b27a2b9440776219ae7..66cc756f093d623f382fd34697dae0b946779c23 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -258,7 +258,7 @@ pub fn main() !void {
The code sample begins by adding Zig's Standard Library to the build using the {#link|@import#} builtin function.
The {#syntax#}@import("std"){#endsyntax#} function call creates a structure to represent the Standard Library.
- The code then {#link|declares|Container level Variables#} a
+ The code then declares a
{#link|constant identifier|Assignment#}, named std, for easy access to
Zig's standard library.
@@ -927,8 +927,8 @@ fn foo() i32 {
const expect = std.testing.expect;
test "static local variable" {
- expect(foo() == 1235);
- expect(foo() == 1236);
+ try expect(foo() == 1235);
+ try expect(foo() == 1236);
}
fn foo() i32 {
diff --git a/test/behavior/vector.zig b/test/behavior/vector.zig
index 85cdba224e2c757c02036783dc2e466cd971e776..4a2042b0c5f87293329145f813c718ab8d096dab 100644
--- a/test/behavior/vector.zig
+++ b/test/behavior/vector.zig
@@ -638,10 +638,10 @@ test "mask parameter of @shuffle is comptime scope" {
var v4_a = __v4hi{ 0, 0, 0, 0 };
var v4_b = __v4hi{ 0, 0, 0, 0 };
var shuffled: __v4hi = @shuffle(i16, v4_a, v4_b, std.meta.Vector(4, i32){
- std.zig.c_translation.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
- std.zig.c_translation.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
- std.zig.c_translation.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
- std.zig.c_translation.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
+ std.meta.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
+ std.meta.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
+ std.meta.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
+ std.meta.shuffleVectorIndex(0, @typeInfo(@TypeOf(v4_a)).Vector.len),
});
_ = shuffled;
}