Skip to content

Commit 103e146

Browse files
committed
Replace nursery links with rust-lang links
Both repos have been moved to the `rust-lang` org and the links are still redirecting properly. This way we just avoid the redirect and make the link shorter.
1 parent 9493b7d commit 103e146

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ci/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ set -euxo pipefail
22

33
main() {
44
local tag=$(git ls-remote --tags --refs --exit-code \
5-
https://github.com/rust-lang-nursery/mdbook \
5+
https://github.com/rust-lang/mdbook \
66
| cut -d/ -f3 \
77
| grep -E '^v[0-9\.]+$' \
88
| sort --version-sort \
99
| tail -n1)
1010

1111
curl -LSfs https://japaric.github.io/trust/install.sh | \
12-
sh -s -- --git rust-lang-nursery/mdbook --tag $tag
12+
sh -s -- --git rust-lang/mdbook --tag $tag
1313

1414
pip install linkchecker --user
1515
}

ci/script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ main() {
44
mdbook build
55
mdbook test
66

7-
# FIXME(rust-lang-nursery/mdbook#789) remove `--ignore-url` when that bug is fixed
7+
# FIXME(rust-lang/mdbook#789) remove `--ignore-url` when that bug is fixed
88
linkchecker --ignore-url "print.html" book
99

1010
# now check this as a directory of the bookshelf
1111
rm -rf shelf
1212
mkdir shelf
1313
mv book shelf
14-
# FIXME(rust-lang-nursery/mdbook#789) remove `--ignore-url` when that bug is fixed
14+
# FIXME(rust-lang/mdbook#789) remove `--ignore-url` when that bug is fixed
1515
linkchecker --ignore-url "print.html" shelf
1616

1717
mv shelf/book .

src/interoperability/c-with-rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Rather than manually generating these interfaces, which may be tedious and error
8787
`--ctypes-prefix=cty` and `Builder.use_core()` to make the generated code `#![no_std]` compatible.
8888
4. `bindgen` will produce the generated Rust code to the output of the terminal window. This file may be piped to a file in your project, such as `bindings.rs`. You may use this file in your Rust project to interact with C/C++ code compiled and linked as an external library. Tip: don't forget to use the [`cty`](https://crates.io/crates/cty) crate if your types in the generated bindings are prefixed with `cty`.
8989

90-
[bindgen]: https://github.com/rust-lang-nursery/rust-bindgen
90+
[bindgen]: https://github.com/rust-lang/rust-bindgen
9191
[bindgen user's manual]: https://rust-lang.github.io/rust-bindgen/
9292

9393
## Building your C/C++ code

0 commit comments

Comments
 (0)