Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust lang master #464

Closed
wants to merge 279 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
6db1ac5
Update book.toml
nomicon-kr Jun 21, 2024
7016513
Update safe-unsafe-meaning.md
nomicon-kr Jun 21, 2024
2a7a069
Update safe-unsafe-meaning.md
nomicon-kr Jun 21, 2024
61b837d
Update safe-unsafe-meaning.md
nomicon-kr Jun 21, 2024
6fe2608
Update main.yml
nomicon-kr Jun 22, 2024
7a2ac23
Update main.yml
nomicon-kr Jun 22, 2024
7478504
Update main.yml
nomicon-kr Jun 22, 2024
57be765
Update main.yml
nomicon-kr Jun 22, 2024
aced7dc
Update main.yml
nomicon-kr Jun 22, 2024
30b2eb8
Update main.yml
nomicon-kr Jun 22, 2024
5c95f53
Update mdbook.yml
nomicon-kr Jun 22, 2024
a96ae3b
Update safe-unsafe-meaning.md
nomicon-kr Jun 22, 2024
c9aef4f
Update SUMMARY.md
nomicon-kr Jun 22, 2024
2b44bf6
Update what-unsafe-does.md
nomicon-kr Jun 22, 2024
8856c5e
Update what-unsafe-does.md
nomicon-kr Jun 22, 2024
0ba41b1
Update what-unsafe-does.md
nomicon-kr Jun 22, 2024
fff2792
Update what-unsafe-does.md
nomicon-kr Jun 22, 2024
0aa9cbc
Update what-unsafe-does.md
nomicon-kr Jun 22, 2024
b1d97e5
Update what-unsafe-does.md
nomicon-kr Jun 22, 2024
8836909
Update what-unsafe-does.md
nomicon-kr Jun 23, 2024
86877d4
Update what-unsafe-does.md
nomicon-kr Jun 23, 2024
1c9f846
Update what-unsafe-does.md
nomicon-kr Jun 23, 2024
effdb11
Update what-unsafe-does.md
nomicon-kr Jun 23, 2024
6730430
Update what-unsafe-does.md
nomicon-kr Jun 23, 2024
c738b0a
Update SUMMARY.md
nomicon-kr Jun 23, 2024
f4cd6f6
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
358889a
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
5d0f72b
Update SUMMARY.md
nomicon-kr Jun 23, 2024
ff5ac83
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
2aaf255
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
1fb55fe
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
cc8bb9c
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
c62cd60
Update safe-unsafe-meaning.md
nomicon-kr Jun 23, 2024
8267b9c
Update working-with-unsafe.md
nomicon-kr Jun 23, 2024
f35cfce
Update mdbook.yml
nomicon-kr Jun 23, 2024
74042c5
Update mdbook.yml
nomicon-kr Jun 23, 2024
4558ea8
working-with-unsafe.md 마무리
nomicon-kr Jun 24, 2024
2ce230d
Update SUMMARY.md
nomicon-kr Jun 24, 2024
675fbe1
Update data.md
nomicon-kr Jun 24, 2024
047e706
Update data.md
nomicon-kr Jun 24, 2024
ba5b120
Update repr-rust.md
nomicon-kr Jun 25, 2024
3bd4049
Update repr-rust.md
nomicon-kr Jun 25, 2024
c762f87
Update repr-rust.md
nomicon-kr Jun 25, 2024
4bdda43
Update repr-rust.md
nomicon-kr Jun 25, 2024
930f20c
Update repr-rust.md
nomicon-kr Jun 25, 2024
7568244
Update repr-rust.md
nomicon-kr Jun 25, 2024
c8055d9
Update repr-rust.md
nomicon-kr Jun 25, 2024
ec7f1e6
Update repr-rust.md
nomicon-kr Jun 25, 2024
5d5a8ae
Update repr-rust.md
nomicon-kr Jun 25, 2024
0011c91
Update repr-rust.md
nomicon-kr Jun 25, 2024
00d46d4
Update repr-rust.md
nomicon-kr Jun 25, 2024
ec7fa99
Update repr-rust.md
nomicon-kr Jun 25, 2024
677e8d8
Update repr-rust.md
nomicon-kr Jun 25, 2024
24d0f46
Update repr-rust.md
nomicon-kr Jun 25, 2024
9675e00
Update repr-rust.md
nomicon-kr Jun 25, 2024
6cbe6ab
Update repr-rust.md
nomicon-kr Jun 25, 2024
ba5c906
Update SUMMARY.md
nomicon-kr Jun 25, 2024
9b85215
Update SUMMARY.md
nomicon-kr Jun 25, 2024
8286000
Update exotic-sizes.md
nomicon-kr Jun 25, 2024
369febb
Update repr-rust.md
nomicon-kr Jun 25, 2024
0626fca
disable linkcheck
nomicon-kr Jun 25, 2024
86ef9ab
Update exotic-sizes.md
nomicon-kr Jun 25, 2024
bec016c
Update exotic-sizes.md
nomicon-kr Jun 26, 2024
ab4ea5c
Update exotic-sizes.md
nomicon-kr Jun 26, 2024
dbdc51a
Update exotic-sizes.md
nomicon-kr Jun 26, 2024
851087d
Update exotic-sizes.md
nomicon-kr Jun 26, 2024
31d0ebe
Update exotic-sizes.md
nomicon-kr Jun 26, 2024
c05578a
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
08e6e74
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
21b22fe
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
d60a1a3
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
3db244d
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
4a5a372
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
76e218a
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
215885b
Update exotic-sizes.md
nomicon-kr Jun 27, 2024
6b76039
Update SUMMARY.md
nomicon-kr Jun 27, 2024
139f4bc
Update other-reprs.md
nomicon-kr Jun 27, 2024
af79295
Update other-reprs.md
nomicon-kr Jun 28, 2024
5ee3664
Update other-reprs.md
nomicon-kr Jun 28, 2024
3ac13f6
Update other-reprs.md
nomicon-kr Jun 28, 2024
af0ad52
Update other-reprs.md
nomicon-kr Jun 28, 2024
c87000a
Update other-reprs.md
nomicon-kr Jun 28, 2024
2847f5e
Update other-reprs.md
nomicon-kr Jun 28, 2024
1e39481
Update other-reprs.md
nomicon-kr Jun 29, 2024
c1d56ea
Update other-reprs.md
nomicon-kr Jun 29, 2024
94de273
Update other-reprs.md
nomicon-kr Jul 2, 2024
8d0afc2
Update other-reprs.md
nomicon-kr Jul 2, 2024
fd431aa
Update other-reprs.md
nomicon-kr Jul 3, 2024
05224d5
Update other-reprs.md
nomicon-kr Jul 4, 2024
efa026d
Update other-reprs.md
nomicon-kr Jul 4, 2024
5cd6ad8
Update other-reprs.md
nomicon-kr Jul 4, 2024
721f87b
Update other-reprs.md
nomicon-kr Jul 4, 2024
fade453
Update what-unsafe-does.md
nomicon-kr Jul 4, 2024
31de359
Update what-unsafe-does.md
nomicon-kr Jul 4, 2024
b7bc73e
Update repr-rust.md
nomicon-kr Jul 4, 2024
ddf346a
Update other-reprs.md
nomicon-kr Jul 4, 2024
01de0f6
Finish other-reprs.md
nomicon-kr Jul 4, 2024
146bd4a
Update SUMMARY.md
nomicon-kr Jul 4, 2024
d585ced
Update ownership.md
nomicon-kr Jul 5, 2024
af4b929
Update SUMMARY.md
nomicon-kr Jul 5, 2024
58b0891
Update references.md
nomicon-kr Jul 5, 2024
dd2fd89
Update SUMMARY.md
nomicon-kr Jul 5, 2024
e21a5b4
Update aliasing.md
nomicon-kr Jul 5, 2024
2397266
Update aliasing.md
nomicon-kr Jul 5, 2024
db120fb
Update aliasing.md
nomicon-kr Jul 5, 2024
af4a38a
Update aliasing.md
nomicon-kr Jul 5, 2024
3d4e8a1
Update aliasing.md
nomicon-kr Jul 5, 2024
f8146dd
Update aliasing.md
nomicon-kr Jul 5, 2024
c4db8e4
Update aliasing.md
nomicon-kr Jul 6, 2024
3a8e58a
Update aliasing.md
nomicon-kr Jul 6, 2024
3fa92d4
Update lifetimes.md
nomicon-kr Jul 6, 2024
9116b99
Update lifetimes.md
nomicon-kr Jul 6, 2024
47ab840
Update lifetimes.md
nomicon-kr Jul 6, 2024
d61f654
Update SUMMARY.md
nomicon-kr Jul 6, 2024
09e580a
Update lifetimes.md
nomicon-kr Jul 6, 2024
f65e77e
Update lifetimes.md
nomicon-kr Jul 6, 2024
f8692fa
Update lifetimes.md
nomicon-kr Jul 6, 2024
5cc7984
Update lifetimes.md
nomicon-kr Jul 6, 2024
a574834
Update lifetimes.md
nomicon-kr Jul 7, 2024
45720b0
Update lifetimes.md
nomicon-kr Jul 7, 2024
f4928d6
Update lifetimes.md
nomicon-kr Jul 8, 2024
ba197f6
Update lifetimes.md
nomicon-kr Jul 8, 2024
49752fa
Update lifetimes.md
nomicon-kr Jul 9, 2024
50afd02
Update lifetimes.md
nomicon-kr Jul 9, 2024
54fc4c7
Update lifetimes.md
nomicon-kr Jul 11, 2024
31adb71
Update lifetimes.md
nomicon-kr Jul 11, 2024
0f93e15
Update lifetimes.md
nomicon-kr Jul 11, 2024
071e9a5
Update lifetimes.md
nomicon-kr Jul 12, 2024
5c3bc3c
Update lifetimes.md
nomicon-kr Jul 12, 2024
27af127
Update lifetimes.md
nomicon-kr Jul 12, 2024
b575edf
Update SUMMARY.md
nomicon-kr Jul 12, 2024
aefd0b6
Update lifetime-mismatch.md
nomicon-kr Jul 13, 2024
0c06f44
Update lifetime-mismatch.md
nomicon-kr Jul 13, 2024
c56891f
Update lifetime-mismatch.md
nomicon-kr Jul 13, 2024
acdaa68
Update lifetime-mismatch.md
nomicon-kr Jul 13, 2024
6f2e458
Update lifetime-mismatch.md
nomicon-kr Jul 13, 2024
d57e6eb
Update SUMMARY.md
nomicon-kr Jul 13, 2024
3925e28
Update lifetime-elision.md
nomicon-kr Jul 14, 2024
2695157
Update lifetime-elision.md
nomicon-kr Jul 14, 2024
c6ec497
Update unbounded-lifetimes.md
nomicon-kr Jul 14, 2024
0715256
Update SUMMARY.md
nomicon-kr Jul 14, 2024
348428d
Update SUMMARY.md
nomicon-kr Jul 14, 2024
7ced8df
Update hrtb.md
nomicon-kr Jul 14, 2024
f5ffc3f
Update hrtb.md
nomicon-kr Jul 14, 2024
22b45b6
Update hrtb.md
nomicon-kr Jul 14, 2024
4ab2264
Update subtyping.md
nomicon-kr Jul 16, 2024
462ab74
Update subtyping.md
nomicon-kr Jul 16, 2024
d2b41f3
Update subtyping.md
nomicon-kr Jul 16, 2024
b0ed1f0
Update subtyping.md
nomicon-kr Jul 16, 2024
ba9aa27
Update SUMMARY.md
nomicon-kr Jul 16, 2024
4e60911
Update subtyping.md
nomicon-kr Jul 16, 2024
94fe227
Update subtyping.md
nomicon-kr Jul 16, 2024
d8007a0
Update subtyping.md
nomicon-kr Jul 16, 2024
a845fe8
Update subtyping.md
nomicon-kr Jul 16, 2024
c8d79fc
Update subtyping.md
nomicon-kr Jul 17, 2024
2646066
Update subtyping.md
nomicon-kr Jul 17, 2024
c097d3d
Update subtyping.md
nomicon-kr Jul 17, 2024
71edc99
Update subtyping.md
nomicon-kr Jul 17, 2024
1ac36d0
Update subtyping.md
nomicon-kr Jul 17, 2024
2ff36c5
Update subtyping.md
nomicon-kr Jul 17, 2024
6734d92
Update subtyping.md
nomicon-kr Jul 17, 2024
958670b
Update subtyping.md
nomicon-kr Jul 17, 2024
62bfd64
Update subtyping.md
nomicon-kr Jul 18, 2024
0d520b1
Update subtyping.md
nomicon-kr Jul 18, 2024
6c25d43
Update SUMMARY.md
nomicon-kr Jul 18, 2024
89698e7
Update dropck.md
nomicon-kr Jul 19, 2024
49aa539
Update dropck.md
nomicon-kr Jul 19, 2024
ae79912
Update dropck.md
nomicon-kr Jul 19, 2024
19daa04
Update dropck.md
nomicon-kr Jul 19, 2024
f4874db
Update dropck.md
nomicon-kr Jul 19, 2024
396ef93
Update dropck.md
nomicon-kr Jul 20, 2024
1f41bab
Update dropck.md
nomicon-kr Jul 20, 2024
99fa106
Update dropck.md
nomicon-kr Jul 20, 2024
c163c16
Update dropck.md
nomicon-kr Jul 20, 2024
8d61cb3
Update dropck.md
nomicon-kr Jul 21, 2024
6a63a40
Update dropck.md
nomicon-kr Jul 21, 2024
b1d217e
Update dropck.md
nomicon-kr Jul 25, 2024
18f7f17
Update dropck.md
nomicon-kr Jul 26, 2024
2ced94e
Update dropck.md
nomicon-kr Jul 26, 2024
ec9abf8
Update dropck.md
nomicon-kr Jul 26, 2024
719697d
Update phantom-data.md
nomicon-kr Jul 26, 2024
fa79f30
Update phantom-data.md
nomicon-kr Jul 27, 2024
2ea9d56
Update intro.md
nomicon-kr Aug 13, 2024
6d62877
solve merge conflict about changes of origin nomicon
nomicon-kr Aug 13, 2024
616a66f
Merge branch 'rust-lang-master'
nomicon-kr Aug 13, 2024
ad56f88
Update phantom-data.md (sketch)
nomicon-kr Sep 3, 2024
d6af8b3
Update phantom-data.md
nomicon-kr Sep 4, 2024
f190830
Update phantom-data.md
nomicon-kr Sep 4, 2024
a407409
Update phantom-data.md
nomicon-kr Sep 8, 2024
72c6051
Update phantom-data.md
nomicon-kr Sep 8, 2024
5218d49
Update phantom-data.md
nomicon-kr Sep 8, 2024
32010df
Update phantom-data.md
nomicon-kr Sep 8, 2024
cfb1d2c
Update phantom-data.md
nomicon-kr Sep 8, 2024
014ac5a
Update phantom-data.md
nomicon-kr Sep 8, 2024
d182104
Update phantom-data.md
nomicon-kr Sep 8, 2024
d34e748
Update phantom-data.md
nomicon-kr Sep 8, 2024
91439ba
Update SUMMARY.md
nomicon-kr Sep 8, 2024
6edace0
Update borrow-splitting.md
nomicon-kr Sep 8, 2024
4170fec
Update borrow-splitting.md
nomicon-kr Sep 8, 2024
972ce29
Update borrow-splitting.md
nomicon-kr Sep 8, 2024
f09dab7
Update borrow-splitting.md
nomicon-kr Sep 8, 2024
fb7405f
Update SUMMARY.md
nomicon-kr Sep 8, 2024
915bd1c
Update conversions.md
nomicon-kr Sep 8, 2024
db1ace7
Update conversions.md
nomicon-kr Sep 9, 2024
e6cd817
Update coercions.md
nomicon-kr Sep 9, 2024
24fad53
Update SUMMARY.md
nomicon-kr Sep 9, 2024
fe089e8
Update dot-operator.md
nomicon-kr Sep 9, 2024
55d7a89
Update coercions.md
nomicon-kr Sep 9, 2024
9987d57
Update SUMMARY.md
nomicon-kr Sep 9, 2024
49a5676
Update dot-operator.md
nomicon-kr Sep 9, 2024
fb1087d
Update dot-operator.md
nomicon-kr Sep 10, 2024
6a0a885
Update dot-operator.md
nomicon-kr Sep 10, 2024
1751419
Update dot-operator.md
nomicon-kr Sep 10, 2024
02ccc84
Update SUMMARY.md
nomicon-kr Sep 10, 2024
b496a9a
Update casts.md
nomicon-kr Sep 10, 2024
55d0d64
Update casts.md
nomicon-kr Sep 10, 2024
af8949e
Update casts.md
nomicon-kr Sep 24, 2024
84b4c0a
Update main.yml
nomicon-kr Sep 24, 2024
4455571
Update main.yml
nomicon-kr Sep 24, 2024
6e1813c
Update SUMMARY.md
nomicon-kr Sep 24, 2024
c002ae8
Update transmutes.md
nomicon-kr Sep 24, 2024
3050c35
Update transmutes.md
nomicon-kr Sep 25, 2024
0b3294c
Update transmutes.md
nomicon-kr Sep 25, 2024
5dcb034
Update transmutes.md
nomicon-kr Sep 26, 2024
7eacf77
Update transmutes.md
nomicon-kr Sep 26, 2024
d81e52e
Update SUMMARY.md
nomicon-kr Sep 26, 2024
64c7cd3
Update uninitialized.md
nomicon-kr Sep 26, 2024
5acf610
Update SUMMARY.md
nomicon-kr Sep 26, 2024
ed8ff48
Update checked-uninit.md
nomicon-kr Sep 26, 2024
4ec6eed
Update checked-uninit.md
nomicon-kr Sep 27, 2024
fb20c18
Update checked-uninit.md
nomicon-kr Sep 27, 2024
b8e9d98
Update SUMMARY.md
nomicon-kr Sep 27, 2024
5db3a94
Update drop-flags.md
nomicon-kr Sep 27, 2024
563ad05
Update drop-flags.md
nomicon-kr Sep 27, 2024
5887842
Update SUMMARY.md
nomicon-kr Sep 27, 2024
5094582
Update unchecked-uninit.md
nomicon-kr Sep 27, 2024
ada86d0
Update unchecked-uninit.md
nomicon-kr Sep 27, 2024
bdf1214
Update unchecked-uninit.md
nomicon-kr Sep 27, 2024
16bde9a
Update unchecked-uninit.md
nomicon-kr Sep 27, 2024
8bb80e6
Update unchecked-uninit.md
nomicon-kr Sep 27, 2024
83376b8
Update unchecked-uninit.md
nomicon-kr Sep 27, 2024
050a605
Update SUMMARY.md
nomicon-kr Sep 27, 2024
63308ed
Update obrm.md
nomicon-kr Sep 27, 2024
884058f
Update obrm.md
nomicon-kr Sep 27, 2024
e9b4139
Update SUMMARY.md
nomicon-kr Sep 27, 2024
643b2d9
Update constructors.md
nomicon-kr Sep 27, 2024
a6d3d2b
Update SUMMARY.md
nomicon-kr Sep 27, 2024
4e7ece6
Update destructors.md
nomicon-kr Sep 27, 2024
5c9c943
Update destructors.md
nomicon-kr Sep 27, 2024
5db6543
Merge branch 'master' of https://github.com/rust-lang/nomicon into ru…
nomicon-kr Sep 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 28 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: CI
on:
pull_request:
merge_group:
on: [pull_request, merge_group]

env:
MDBOOK_VERSION: 0.4.40
Expand All @@ -12,13 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update rustup
run: rustup self update
- name: Install Rust
run: |
rustup set profile minimal
rustup toolchain install nightly -c rust-docs
rustup default nightly
- name: Setup Rust Toolchain
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly
components: rust-docs
- run: rustup default nightly
- name: Install mdbook
run: |
mkdir bin
Expand All @@ -31,11 +29,26 @@ jobs:
mdbook --version
- name: Run tests
run: mdbook test
- name: Check for broken links
run: |
curl -sSLo linkcheck.sh \
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
sh linkcheck.sh --all nomicon

# - name: Cache/Restore linkcheck
# id: cache
# uses: actions/[email protected]
# with:
# path: linkchecker
# key: linkchecker-${{ runner.os }}

# - name: Install linkcheck and Check links
# # if: steps.cache.outputs.cache-hit != 'true'
# run: |
# curl -sSLo linkcheck.sh \
# https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
# sh linkcheck.sh --all nomicon

# - name: Check links
# if: steps.cache.outputs.cache-hit == 'true'
# run: |
# cd linkchecker
# cargo run --release linkcheck

# The success job is here to consolidate the total success/failure state of
# all other jobs. This job is then included in the GitHub branch protection
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Sample workflow for building and deploying a mdBook site to GitHub Pages
#
# To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html
#
name: mdBook -> Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust Toolchain
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly
components: rust-docs
- run: cargo install mdbook
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with mdBook
run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
57 changes: 25 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,71 +1,64 @@
# The Rustonomicon
# 러스토노미콘

The Dark Arts of Advanced and Unsafe Rust Programming
심오하고 *불안전한* 러스트 프로그래밍의 흑마법들

Nicknamed "the Nomicon."
짧게 "노미콘"이라고 부릅니다.

## NOTE: This is a draft document, and may contain serious errors
## 주의: 이것은 미완성 문서이고, 심각한 오류들을 포함할 수 있습니다.

> Instead of the programs I had hoped for, there came only a shuddering
blackness and ineffable loneliness; and I saw at last a fearful truth which no
one had ever dared to breathe before — the unwhisperable secret of secrets — The
fact that this language of stone and stridor is not a sentient perpetuation of
Rust as London is of Old London and Paris of Old Paris, but that it is in fact
quite unsafe, its sprawling body imperfectly embalmed and infested with queer
animate things which have nothing to do with it as it was in compilation.
> 내가 바랐던 프로그램들 대신, 살떨리는 어둠과 표현할 수 없는 외로움만이 있었다. 그리고 난 마침내 보고야 말았다.
아무도 그 앞에서 감히 숨도 쉬지 못한 두려운 진실, 속삭일 수조차 없는 비밀들 중의 비밀을 보고야 만 것이다.
이 돌과 끼긱거리는 소리로 이루어진 언어가 러스트의 의식적인 후계가 아니라는 것이었다. 런던은 옛날 정겨운
런던이었고 파리도 그랬지만, 이 언어는 아니었다. 이것은 꽤나 불안전했고,
그 뻗어있는 몸은 거의 미라가 되어 있었고 컴파일할 때는 없었던, 움직이는 요상한 것들로 들끓고 있었다.

This book digs into all the awful details that are necessary to understand in
order to write correct Unsafe Rust programs. Due to the nature of this problem,
it may lead to unleashing untold horrors that shatter your psyche into a billion
infinitesimal fragments of despair.
이 책은 올바른 *"불안전한"* 러스트 프로그램을 작성하기 위해 이해해야 하는 온갖 자질구레한 하나하나를 다 다룹니다.
이러한 문제의 특성 때문에, 이는 이루 다 말할 수 없는 공포스러운 것들을 해방시켜 당신의 정신을 무수한 절망의 조각들로 박살낼 수도 있습니다.

## Requirements
## 요구사항

Building the Nomicon requires [mdBook]. To get it:
노미콘을 빌드하기 위해서는 [mdBook]이 필요합니다. 설치하려면 다음과 같이 입력하세요:

[mdBook]: https://github.com/rust-lang/mdBook

```bash
cargo install mdbook
```

### `mdbook` usage
### `mdbook` 사용법

To build the Nomicon use the `build` sub-command:
노미콘을 빌드하려면 `build` 서브커맨드를 사용하세요:

```bash
mdbook build
```

The output will be placed in the `book` subdirectory. To check it out, open the
`index.html` file in your web browser. You can pass the `--open` flag to `mdbook
build` and it'll open the index page in your default browser (if the process is
successful) just like with `cargo doc --open`:
결과물은 `book` 디렉토리에 위치할 것입니다. 이 결과물을 보려면, `index.html` 파일을 웹 브라우저에서 여세요.
`--open` 플래그를 `mdbook build`에 사용하면 (성공한다면) 기본 브라우저에서 인덱스 페이지를 엽니다. 마치 `cargo doc --open`처럼요:

```bash
mdbook build --open
```

There is also a `test` sub-command to test all code samples contained in the book:
책에 담겨있는 모든 코드 예제를 테스트하는 `test` 서브커맨드도 있습니다:

```bash
mdbook test
```

### `linkcheck`

We use the `linkcheck` tool to find broken links.
To run it locally:
`linkcheck` 툴을 사용하여 유효하지 않은 링크를 검증합니다.
로컬에서 실행하려면 다음과 같이 입력하세요:

```sh
curl -sSLo linkcheck.sh https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
sh linkcheck.sh --all nomicon
```

## Contributing
## 기여

노미콘은 아직 미완성 상태이기 때문에, 당신의 도움이 필요합니다!
아무 주제라도 좋으니 자유롭게 이슈를 열어 주시고, 고치거나 바꾸고 싶은 것들이 있다면 PR도 환영합니다.
만약 변경사항이 많다면 PR로 고생하시기 전에, 수락할 변경사항인지 확실하게 하기 위해 먼저 이슈를 열어 주세요.

Given that the Nomicon is still in a draft state, we'd love your help! Please
feel free to open issues about anything, and send in PRs for things you'd like
to fix or change. If your change is large, please open an issue first, so we can
make sure that it's something we'd accept before you go through the work of
getting a PR together.
8 changes: 4 additions & 4 deletions book.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[book]
author = "The Rust Project Developers"
title = "The Rustonomicon"
description = "The Dark Arts of Advanced and Unsafe Rust Programming"
author = "러스트 프로젝트 개발자들"
title = "러스토노미콘"
description = "심오하고 불안전한 러스트 프로그래밍의 흑마법들"

[output.html]
additional-css = ["theme/nomicon.css"]
git-repository-url = "https://github.com/rust-lang/nomicon"
git-repository-url = "https://github.com/nomicon-kr/nomicon-kr.github.io"

[output.html.redirect]
# Vec-related chapters.
Expand Down
62 changes: 31 additions & 31 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
# Summary

[Introduction](intro.md)
[소개](intro.md)

* [Meet Safe and Unsafe](meet-safe-and-unsafe.md)
* [How Safe and Unsafe Interact](safe-unsafe-meaning.md)
* [What Unsafe Can Do](what-unsafe-does.md)
* [Working with Unsafe](working-with-unsafe.md)
* [Data Layout](data.md)
* [안전함과 불안전함을 마주하라](meet-safe-and-unsafe.md)
* [안전함과 불안전함은 어떻게 상호작용하는가](safe-unsafe-meaning.md)
* [불안전함은 어떤 것을 할 수 있는가](what-unsafe-does.md)
* [불안전함과 함께 일하는 것](working-with-unsafe.md)
* [데이터 레이아웃](data.md)
* [repr(Rust)](repr-rust.md)
* [Exotically Sized Types](exotic-sizes.md)
* [Other reprs](other-reprs.md)
* [Ownership](ownership.md)
* [References](references.md)
* [Aliasing](aliasing.md)
* [Lifetimes](lifetimes.md)
* [Limits of Lifetimes](lifetime-mismatch.md)
* [Lifetime Elision](lifetime-elision.md)
* [Unbounded Lifetimes](unbounded-lifetimes.md)
* [Higher-Rank Trait Bounds](hrtb.md)
* [Subtyping and Variance](subtyping.md)
* [Drop Check](dropck.md)
* [이량 타입](exotic-sizes.md)
* [다른 표현 방식들](other-reprs.md)
* [소유권](ownership.md)
* [레퍼런스](references.md)
* [복제](aliasing.md)
* [수명](lifetimes.md)
* [수명의 한계](lifetime-mismatch.md)
* [수명 생략](lifetime-elision.md)
* [무제한 수명](unbounded-lifetimes.md)
* [상계 트레잇 제한](hrtb.md)
* [부분타입 다형성과 변성](subtyping.md)
* [해제 검사](dropck.md)
* [PhantomData](phantom-data.md)
* [Splitting Borrows](borrow-splitting.md)
* [Type Conversions](conversions.md)
* [Coercions](coercions.md)
* [The Dot Operator](dot-operator.md)
* [Casts](casts.md)
* [Transmutes](transmutes.md)
* [Uninitialized Memory](uninitialized.md)
* [Checked](checked-uninit.md)
* [Drop Flags](drop-flags.md)
* [Unchecked](unchecked-uninit.md)
* [Ownership Based Resource Management](obrm.md)
* [Constructors](constructors.md)
* [Destructors](destructors.md)
* [대여 쪼개기](borrow-splitting.md)
* [타입 변환](conversions.md)
* [강제 변환](coercions.md)
* [점 연산자](dot-operator.md)
* [변형](casts.md)
* [변질](transmutes.md)
* [초기화되지 않은 메모리](uninitialized.md)
* [검사받는](checked-uninit.md)
* [해제 표기](drop-flags.md)
* [검사받지 않는](unchecked-uninit.md)
* [소유권 기반 자원 관리](obrm.md)
* [생성자](constructors.md)
* [소멸자](destructors.md)
* [Leaking](leaking.md)
* [Unwinding](unwinding.md)
* [Exception Safety](exception-safety.md)
Expand Down
Loading